Finds the intersection of a mesh and a polyline. Points are guaranteed to be sorted along the polyline.
RhinoCommon (in RhinoCommon.dll)
public static Point3d MeshPolylineSorted(
out int faceIds
Public Shared Function MeshPolylineSorted (
mesh As Mesh,
curve As PolylineCurve,
<OutAttribute> ByRef faceIds As Integer()
) As Point3d()
- Type: Rhino.GeometryMesh
A mesh to intersect.
- Type: Rhino.GeometryPolylineCurve
A polyline curves to intersect.
- Type: SystemInt32
The indices of the intersecting faces. This out reference is assigned during the call.
An array of points: one for each face that was passed by the faceIds out reference.