Share

SolidUtils.ComputeIsTopologicallyClosed Method

Compute whether the input Solid is topologically closed.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

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

ExceptionCondition
ArgumentNullException A non-optional argument was null

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

Was this information helpful?