[
https://issues.apache.org/jira/browse/GEOMETRY-155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17743605#comment-17743605
]
Matt Juntunen commented on GEOMETRY-155:
----------------------------------------
This can be done by multiplying the vector by 0.5. There is no need for a
separate method for this.
{code:java}
Vector3D v = ...
Vector3D midPoint = v.multiply(0.5);
{code}
> Implement getMidpoint(Vector x)
> -------------------------------
>
> Key: GEOMETRY-155
> URL: https://issues.apache.org/jira/browse/GEOMETRY-155
> Project: Commons Geometry
> Issue Type: New Feature
> Components: euclidean1D, euclidean2D, euclidean3D
> Reporter: Dimitrios Efthymiou
> Priority: Minor
> Labels: features
> Original Estimate: 3h
> Remaining Estimate: 3h
>
> It takes a vector and returns the point that is in the middle of the vector
--
This message was sent by Atlassian Jira
(v8.20.10#820010)