For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

GCPnts_AbscissaPoint.Length doesnt deal with sorted parameters

jelle's picture
Forums: 

hi,

I'm calling GCPnts_AbscissaPoint.Length with the following method:

ipdb> inner_curve_offset.length(p1A, p1B, TOLERANCE)

Out[0]: 95.911481881716128
ipdb> inner_curve_offset.length(p1B, p1A, TOLERANCE)

Out[0]: 95.911481881716128
ipdb> p1A, p1B

Out[0]: (0.042984484959381744, 0.95521769089611153)
ipdb>

The thing is that since using
Geom_TrimmedCurve( inner_curve_offset.brep_adaptor, p1A, p1B)

results in a different curve length than:

Geom_TrimmedCurve( inner_curve_offset.brep_adaptor, p1B, p1A)

its reasonable to consider this a bug, right?

cheers,

-jelle

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.