SolidUtilsComputeIsTopologicallyClosed Method |
Compute whether the input Solid is topologically closed.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntaxpublic static bool ComputeIsTopologicallyClosed(
Solid geometry
)
Public Shared Function ComputeIsTopologicallyClosed (
geometry As Solid
) As Boolean
public:
static bool ComputeIsTopologicallyClosed(
Solid^ geometry
)
static member ComputeIsTopologicallyClosed :
geometry : Solid -> bool
Parameters
- geometry Solid
-
The solid or shell geometry to test.
Return Value
Boolean
True if the geometry is topologically closed, false otherwise.
Exceptions
Remarks
A solid is topologically closed if every face has at least one edge loop and
every edge is shared by exactly two faces. If the geometry contains multiple
connected components, the function returns true if and only if every connected
component is topologically closed.
See Also