Click or drag to resize

SilhouetteComputeDraftCurve Method (GeometryBase, Double, Vector3d, Double, Double)

Computes draft curve silhouettes of a shape.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 7.0
public static Silhouette[] ComputeDraftCurve(
	GeometryBase geometry,
	double draftAngle,
	Vector3d pullDirection,
	double tolerance,
	double angleToleranceRadians


Type: Rhino.GeometryGeometryBase
Geometry whose silhouettes need to be computed. Can be Brep, BrepFace, Mesh, or Extrusion.
Type: SystemDouble
The draft angle in radians. Draft angle can be a positive or negative value.
Type: Rhino.GeometryVector3d
3d direction for the mold to be pulled in, directed away from the object.
Type: SystemDouble
Tolerance to use for determining projecting relationships. Surfaces and curves that are closer than tolerance, may be treated as projecting. When in doubt use RhinoDoc.ModelAbsoluteTolerance.
Type: SystemDouble
Angular tolerance to use for determining projecting relationships. A surface normal N that satisfies N o cameraDirection < Sin(angleToleranceRadians) may be considered projecting. When in doubt use RhinoDoc.ModelAngleToleranceRadians.

Return Value

Type: Silhouette
Array of silhouette curves.
See Also