Implementing 3D Vector and Vector Utilities

Open
#68 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
backend

Research direction

Start by inspecting Spatial4j's existing package structure and the math package mentioned in the issue's fork. Define the 3D vector utilities listed in the issue, then add focused tests covering their results and edge cases; done means the class and utilities are available for computation and the tests pass.

Written by the indexing model from the issue text.

Description

Implement a class in spatial 4j for using 3D vectors in computation. Implement additional vector utilities which should include:

  • Addition
  • Subtraction
  • Scalar Multiplication
  • Dot product
  • Cross Product
  • Get unit vector

And any other utilities one might use. I added these in my fork into a new math package - might be a good idea to stick with this trend and create this new package for computation utilities.

Dominant language
Java
Stars
961
Forks
172
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from locationtech/spatial4j

All issues in locationtech/spatial4j

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.