Pt2D |
Overview
Pt2D is an object which consists of two double precision values. It is used to store x and y coordinate. Pt2D can also be used as a general data structure, though.
Member data
Name | Data type | Meaning |
x | double | x coordinate |
y | double | y coordinate |
Operator
no operator provided
Construction function
{Pt2D} ret = PT2D([{double} argm1, {double} argm2])
argm1 = x coordinate (default = 0)
argm2 = y coordinate (default = 0)
Example:
->pt_1 = Pt2D() | a default Pt2D object (x = 0, y = 0) |
->pt_1 = Pt2D(52.3, 65.2) |
an Pt2D object (x = 52.3, y = 65.2) |
Lfunction
object.X() = {double} left-value
object.Y() = {double} left-value
Example:
->pt_1.x() = 50.09
->pt_1.y() = 60.98 |
Class function
AZI | DIST | DIST2LINE | INIT | IS_INWINDOW |
IS_NA | ||||
LNGETX | LNGETY | LNINTLN | MATRIX | MIDPOINT |
SHIFT | SLOPE | TRAVERSE | X | Y |
YC | AZINTAZ | DISTINTDIST | LNINTCIR | PERP2LINE |