Intersection.ProjectPointsToMeshes Method

IntersectionProjectPointsToMeshes Method

Projects points onto meshes.

Namespace:  Rhino.Geometry.Intersect
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Point3d[] ProjectPointsToMeshes(
	IEnumerable<Mesh> meshes,
	IEnumerable<Point3d> points,
	Vector3d direction,
	double tolerance
)
Public Shared Function ProjectPointsToMeshes ( 
	meshes As IEnumerable(Of Mesh),
	points As IEnumerable(Of Point3d),
	direction As Vector3d,
	tolerance As Double
) As Point3d()

Parameters

meshes
Type: System.Collections.GenericIEnumerableMesh
the meshes to project on to.
points
Type: System.Collections.GenericIEnumerablePoint3d
the points to project.
direction
Type: Rhino.GeometryVector3d
the direction to project.
tolerance
Type: SystemDouble
Projection tolerances used for culling close points and for line-mesh intersection.

Return Value

Type: Point3d
Array of projected points, or null in case of any error or invalid input.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also