SolidUtilsComputeIsGeometricallyClosed Method |
Computes whether the input Solid is geometrically closed to within Revit's tolerances.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntaxpublic static bool ComputeIsGeometricallyClosed(
Solid geometry
)
Public Shared Function ComputeIsGeometricallyClosed (
geometry As Solid
) As Boolean
public:
static bool ComputeIsGeometricallyClosed(
Solid^ geometry
)
static member ComputeIsGeometricallyClosed :
geometry : Solid -> bool
Parameters
- geometry Solid
-
The solid or shell geometry to test.
Return Value
Boolean
True if the geometry is geometrically closed, false otherwise.
Exceptions
Remarks
A solid is geometrically closed if it is topologically closed and also meets certain
geometric criteria. In particular, every pair of faces adjoining an edge must intersect
along the edge, and edge loops must have no gaps between consecutive edges of the loop,
when evaluated on the edge loop's face.
If the geometry contains multiple connected components, the function returns true
if and only if every connected component is geometrically closed. If the input Solid
contains grossly invalid geometry, an InvalidOperationException will be thrown.
See Also