Description:

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

Syntax:
public Curve[] CreateSectionCurve(
Plane plane,
double absoluteTolerance,
double maxDistance,
double minDistance,
bool openCurves,
bool createSpline,
bool createPolyline,
double fitTolerance
)
Parameters:
  • plane
  • Type: Plane
  • The plane to intersect with
  • absoluteTolerance
  • Type: double
  • The document's model absolute tolerance
  • maxDistance
  • Type: double
  • 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: double
  • 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: bool
  • True for open, False for closed.
  • createSpline
  • Type: bool
  • Creates a smooth curve. You can create both a curve and a polyline.
  • createPolyline
  • Type: bool
  • Creates a polyline. You can create both a curve and a polyline.
  • fitTolerance
  • Type: double
  • The tolerance used to fit the curve through the polyline.
Returns:
Type: Curve[]
The intersection curves if successful, an empty array if unsuccessful.
Available since:
8.0

Description:

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

Syntax:
public Curve[] CreateSectionCurve(
Plane plane,
double absoluteTolerance
)
Parameters:
  • plane
  • Type: Plane
  • The plane to intersect with
  • absoluteTolerance
  • Type: double
  • The document's model absolute tolerance
Returns:
Type: Curve[]
The intersection curves if successful, an empty array if unsuccessful.
Available since:
8.0

/
/
/
CreateSectionCurve

CreateSectionCurve method

Class:  Rhino.Geometry.PointCloud

Nothing found