I am trying to set the domains of a generated surface and then test if a point is at an Interior relationship to it.
The logic goes something like this.
- Create Brep from Patch of Curves (this sometimes automatically sets the domains to something I don’t find intuitive since I then use the domains to find points on the surface)
- Take Brep and get FaceList, and for each face get the underlying surface.
- Try finding some points that are interior to the trimmed face.
- If can’t find any, change the domains of the surface based on how many points I want to find and look again.
I’ve found when I call the BrepFaceList.UnderlyingSurface().SetDomain(X, _____) it is not changing it, however when I use the SetDomain of a Surface from the BrepSurfaceList it does work and does change the domain.
Are the Underlying Surfaces in BrepFaceList related to the surfaces in BrepSurfaceList ??
If not, what’s the best way to utilize a domain change on teh BrepSurfaceList but then test if a point at (u,v) is interior to the trimmed face?