Click or drag to resize

BrepTryGetExtrusion Method (Extrusion, Double)

Tests a Brep to see if it is an extrusion and returns the extrusion.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public bool TryGetExtrusion(
	out Extrusion extrusion,
	double tolerance
)

Parameters

extrusion
Type: Rhino.GeometryExtrusion
On success, the extrusion parameters are filled in.
tolerance
Type: SystemDouble
tolerance to use when checking.

Return Value

Type: Boolean
true if the Brep is a portion of an extrusion.
See Also