Click or drag to resize

MathHelperFindClosedAreaData Method

Finds the data of a closed area formed of given entites.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public static bool FindClosedAreaData(
	IEnumerable<EntityObject> Entities,
	out double ExternalLenght,
	out double ExternalArea,
	out double InternalLenght,
	out double InternalArea,
	out int InternalCountoursNumber
)

Parameters

Entities
Type: System.Collections.GenericIEnumerableEntityObject
The entities.
ExternalLenght
Type: SystemDouble
Perimeter of external part.
ExternalArea
Type: SystemDouble
Area of external part.
InternalLenght
Type: SystemDouble
Total lenght of internal parts.
InternalArea
Type: SystemDouble
Total area of internal parts.
InternalCountoursNumber
Type: SystemInt32
Total number of internal contours.

Return Value

Type: Boolean
True if data are found.
See Also