[ https://issues.apache.org/jira/browse/GEOMETRY-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17743530#comment-17743530 ]
Dimitrios Efthymiou edited comment on GEOMETRY-154 at 7/16/23 1:57 PM: ----------------------------------------------------------------------- [~erans] In a sense yes. the way I expressed it in the description was "take a vector AB and divide it into 2, based on a ratio. This video instead of saying it this way, it said take 2 points with position vectors OA and OB and find the position vector OP of a point P that divides AB into a ratio bla bla. It is the same thing, yes. was (Author: JIRAUSER301169): [~erans] In a sense yes. the way I expressed it in the description was "take a vector AB and divide it into 2 based on a ratio. This video instead of saying it this way, it said take 2 points with position vectors OA and OB and find the opsition vector of a point OP that divides AB into a ratio bla bla. It is the same thing, yes. > Implement divideVectorWithRatio(Vector x, double ratio) > ------------------------------------------------------- > > Key: GEOMETRY-154 > URL: https://issues.apache.org/jira/browse/GEOMETRY-154 > 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, say, u = (10) and divides it with ratio, say 1/2. That > will return a pair of vectors v = (3.33) and w = (6.66). Regardless of > dimensions, both vectors start at the point of origin -- This message was sent by Atlassian Jira (v8.20.10#820010)