Elements icon indicating copy to clipboard operation
Elements copied to clipboard

Add PointAtParameter method for Surfaces

Open radumg opened this issue 5 years ago • 1 comments

Further to the improvements requested in #56 , at @designtechIO we've identified we need the following additional geometric types/operation :

Surface.PointAtParameter - used as a way to create a grid of points across either a surface, polygon or 2d bounding box.

Further notes on this from @ikeough that we (@radumg @markthorley) agree with :

planar surfaces will have their origin at the first vertex of the polygon that bounds the face, with the parameter space “covering” the bounding polygon. But remember that all points at parameter are not necessarily “inside” the surface. So an additional check will be required whether a point IsInside

radumg avatar Mar 04 '19 17:03 radumg

Current workaround at the moment is to take a polygon, build a bounding box and rebuild the u and v lines from that. Then use PointAt across those curves and translate the points to get a grid. Works fine for the time being so maybe not urgent

MarkThorley avatar Mar 04 '19 18:03 MarkThorley