PropertyTableEntry.IsValidPropertyTableEntry
Description:
Function used to check the input data is valid to create PropertyTableEntry object
Function used to check the input data is valid to create PropertyTableEntry object
public static bool IsValidPropertyTableEntry(
double distance,
double bearing,
PropertyTableEntryCurveType curveType,
double arcRadius,
PropertyTableEntryArcDirection arcDir
)
-
DoubledistanceThe distance(start point to end point) of the PropertyTableEntry. The unit is feet.
-
DoublebearingThe angle of the PropertyTableEntry. The value should be in [0-2*PI]
-
curveTypePropertyTableEntry type.
-
DoublearcRadiusIf the curveType is Arc, this input the radius of the arc; It is not used if type is Line.
-
arcDirIf the curveType is Arc, indicate the curve direction, either left or right. It is not used if type is Line.
-
A value passed for an enumeration argument is not a member of that enumeration