Finds the intersections of a mesh and a line. Points are sorted along the line.
RhinoCommon (in RhinoCommon.dll)
public static Point3d MeshLineSorted(
out int faceIds
Public Shared Function MeshLineSorted (
mesh As Mesh,
line As Line,
<OutAttribute> ByRef faceIds As Integer()
) As Point3d()
- Type: Rhino.GeometryMesh
A mesh to intersect
- Type: Rhino.GeometryLine
The line to intersect with the mesh
- 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.