Prod.: Engine, ver.: 6012, ID: 60000538, Bug : Measure returns different results from version 5 geomMeasure.

Bug : Measure returns different results from version 5 geomMeasure.

Article60000538
TypeBug
ProductEngine
Version6012
Date Added6/12/2008
FixedYes [6/13/2008]
Submitted bySylvain Ringuet
Keywords

Subject

Measure returns different results from version 5 geomMeasure.

Summary

geomMeasure() in Version 5 returns 2 points and Messure() in Version 6 returns 4 points if I pass a length of 12 in the methods for example. 

Solution

In 6013 we added a new method in vdCurve class named geomMeasure that works as version 5 geomMeasure.
The Measure method returns the devided points centered to the curve.
The geomMeasure method instead starts from the beginning of the curve and returns points deviding the curve.

                         0,0                               12,0     12.5,0
geomMeasure()  o-----------------------------------o------------                    Returns 2 pts : 0,0 and 12,0

                          0,0  .25,0                   12.25,0    12.5,0
Measure()           o-----o----------------------------o-----------o                   Returns 4 pts: 0,0 , 0.25,0 , 12.25,0 & 12.5