Click or drag to resize

MathHelperZeroLenghtEntities Method

Returns a list of zero-length entities from a collection of entities.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.12.2
Syntax
public static List<EntityObject> ZeroLenghtEntities(
	IEnumerable<EntityObject> Entities,
	double? epsilon = null
)

Parameters

Entities
Type: System.Collections.GenericIEnumerableEntityObject
The collection of entities to check.
epsilon (Optional)
Type: SystemNullableDouble
Optional tolerance for zero-length comparison. If null, uses the drawing's precision.

Return Value

Type: ListEntityObject
A list of entities with zero or near-zero length/area.
See Also