Click or drag to resize

MathHelperFindContiguousEntities Method

Returns all contiguous groups from a list of entities.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.12.2
Syntax
public static List<List<EntityObject>> FindContiguousEntities(
	IEnumerable<EntityObject> Entities,
	bool Reverse = true
)

Parameters

Entities
Type: System.Collections.GenericIEnumerableEntityObject
The source list of entities.
Reverse (Optional)
Type: SystemBoolean
True to sort in reverse order (counterclockwise).

Return Value

Type: ListListEntityObject
A list of contiguous groups. Empty list if no entities are provided.
See Also