Rhino 5 for Windows
|BrepTryConvertBrep Method |
Attempts to convert a generic Geometry object into a Brep.
RhinoCommon (in RhinoCommon.dll) Version: 5.1.30000.17 (5.13.60913.21340)
public static Brep TryConvertBrep(
Public Shared Function TryConvertBrep (
geometry As GeometryBase
) As Brep
- Type: Rhino.GeometryGeometryBase
Geometry to convert, not all types of GeometryBase can be represented by BReps.
Brep if a brep form could be created or null if this is not possible. If geometry was of type Brep to
begin with, the same object is returned, i.e. it is not duplicated.