BRepBuilder.IsPermittedSurfaceType
Method
Description:
A validator function that checks whether the surface object is of type supported as face surface by BRepBuilder.
A validator function that checks whether the surface object is of type supported as face surface by BRepBuilder.
Remarks:
The allowed surface types are ConicalSurface, CylindricalSurface, Plane, RevolvedSurface, RuledSurface, and HermiteSurface.
The allowed surface types are ConicalSurface, CylindricalSurface, Plane, RevolvedSurface, RuledSurface, and HermiteSurface.
Parameters
Parameter | Type | Description |
---|---|---|
surface | Surface | Surface object intended to be used as a face surface. |
Return Value
Type | Description |
---|---|
Boolean | True if a surface of this type may be used as a face surface, false otherwise. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |