2027 Method
Changes 8
M

PropertyTableEntry.IsValidPropertyTableEntry

Description:
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
)
  • Double
    distance
    The distance(start point to end point) of the PropertyTableEntry. The unit is feet.
  • Double
    bearing
    The angle of the PropertyTableEntry. The value should be in [0-2*PI]
  • curveType
    PropertyTableEntry type.
  • Double
    arcRadius
    If the curveType is Arc, this input the radius of the arc; It is not used if type is Line.
  • arcDir
    If the curveType is Arc, indicate the curve direction, either left or right. It is not used if type is Line.
Return Value Boolean True if it is valid to create PropertyTableEntry; otherwise it is not valid.