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
)
Public Shared Function FindClosedAreaData (
Entities As IEnumerable(Of EntityObject),
<OutAttribute> ByRef ExternalLenght As Double,
<OutAttribute> ByRef ExternalArea As Double,
<OutAttribute> ByRef InternalLenght As Double,
<OutAttribute> ByRef InternalArea As Double,
<OutAttribute> ByRef InternalCountoursNumber As Integer
) As Boolean
public:
static bool FindClosedAreaData(
IEnumerable<EntityObject^>^ Entities,
[OutAttribute] double% ExternalLenght,
[OutAttribute] double% ExternalArea,
[OutAttribute] double% InternalLenght,
[OutAttribute] double% InternalArea,
[OutAttribute] int% InternalCountoursNumber
)
static member FindClosedAreaData :
Entities : IEnumerable<EntityObject> *
ExternalLenght : float byref *
ExternalArea : float byref *
InternalLenght : float byref *
InternalArea : float byref *
InternalCountoursNumber : int byref -> bool
STATIC METHOD FindClosedAreaData(
Entities AS IEnumerable<EntityObject>,
ExternalLenght OUT REAL8,
ExternalArea OUT REAL8,
InternalLenght OUT REAL8,
InternalArea OUT REAL8,
InternalCountoursNumber OUT LONG
) AS LOGIC
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:
BooleanTrue if data are found.
See Also