Click or drag to resize

IntersectionProjectPointsToMeshes Method

Projects points onto meshes.

Namespace:  Rhino.Geometry.Intersect
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public static Point3d[] ProjectPointsToMeshes(
	IEnumerable<Mesh> meshes,
	IEnumerable<Point3d> points,
	Vector3d direction,
	double tolerance
)

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.
See Also