Click or drag to resize

PointCloudCreateSectionCurve Method (Plane, Double, Double, Double, Boolean, Boolean, Boolean, Double)

Creates a planar curve by intersecting a plane with a point cloud.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntax
public Curve[] CreateSectionCurve(
	Plane plane,
	double absoluteTolerance,
	double maxDistance,
	double minDistance,
	bool openCurves,
	bool createSpline,
	bool createPolyline,
	double fitTolerance
)

Parameters

plane
Type: Rhino.GeometryPlane
The plane to intersect with
absoluteTolerance
Type: SystemDouble
The document's model absolute tolerance
maxDistance
Type: SystemDouble
Maximum distance to plane. The thickness of the "slab" around the plane from which sample points are taken. Those sample points are projected to the section plane and a polyline is found that connects them. This distance depends on the size of the point cloud and the spacing of the points.
minDistance
Type: SystemDouble
Minimum distance between points. A threshold for the minimum spacing between adjacent sample points. If there are points closer than that, some are not used.
openCurves
Type: SystemBoolean
True for open, false for closed.
createSpline
Type: SystemBoolean
Creates a smooth curve. You can create both a curve and a polyline.
createPolyline
Type: SystemBoolean
Creates a polyline. You can create both a curve and a polyline.
fitTolerance
Type: SystemDouble
The tolerance used to fit the curve through the polyline.

Return Value

Type: Curve
The intersection curves if successful, an empty array if unsuccessful.
See Also