Surface domain orientation

unhandled

#1

Bonjour,
i got an issue with the Curve.DoDirectionsMatch() function in rhinocommon,
it’s seems that the function returns false when it’s simply true… not a big deal but is there something that i miss ?
here the Python code:

import Rhino.Geometry as rh
#Srf Domain
x.SetDomain(0,rh.Interval(0,1))
x.SetDomain(1,rh.Interval(0,1))
y.SetDomain(0,rh.Interval(0,1))
y.SetDomain(1,rh.Interval(0,1))
#Isocurves
Iso = []
Iso.append(x.IsoCurve(0,z))
Iso.append(y.IsoCurve(0,z))
a=rh.Curve.DoDirectionsMatch(x.IsoCurve(0,z),y.IsoCurve(0,z))
b=Iso


Surface domain orientation.gh (31.1 KB)