Click or drag to resize

MathHelperSortLineArcEntities Method

Sorts a list of arc and lines.

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

Parameters

Entities
Type: System.Collections.GenericIEnumerableEntityObject
A list of arcs and lines.
Reverse (Optional)
Type: SystemBoolean
True if to sort in reverse order (counterclockwise).

Return Value

Type: ListEntityObject
The sorted list. Null if in the Entities properties the are entities different than arcs an lines.
See Also