Compute whether the input Solid is topologically closed.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static bool ComputeIsTopologicallyClosed(
Solid geometry
)
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
Reference