CADability dotNET
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Returns the distance of a point from a line (2d), the distance is positive when the point is on the left side of the
line, negative on the right side.
Namespace: CADabilityAssembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Syntax
C# |
---|
public static double DistPL( GeoPoint2D P, GeoPoint2D lstart, GeoPoint2D lend ) |
Visual Basic |
---|
Public Shared Function DistPL ( _ P As GeoPoint2D, _ lstart As GeoPoint2D, _ lend As GeoPoint2D _ ) As Double |
Visual C++ |
---|
public: static double DistPL( GeoPoint2D P, GeoPoint2D lstart, GeoPoint2D lend ) |
Parameters
- P
- Type: CADability..::..GeoPoint2D
the point
- lstart
- Type: CADability..::..GeoPoint2D
startpoint of the line
- lend
- Type: CADability..::..GeoPoint2D
endpoint of the line