Click or drag to resize

CurvePullToMesh Method (Mesh, Double, Boolean)

Projects this curve onto a mesh.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.17
Syntax
public Curve PullToMesh(
	Mesh mesh,
	double tolerance,
	bool loose
)

Parameters

mesh
Type: Rhino.GeometryMesh
Mesh to project onto.
tolerance
Type: SystemDouble
Input tolerance. When in doubt, the the document's model absolute tolerance.
loose
Type: SystemBoolean
If true, the curve's edit points are pulled back to the mesh. If any edit point misses the mesh, the curve will not be created.

Return Value

Type: Curve
A curve if success, or null on failure.
See Also