IdPt2D |
Overview
IdPt2D is an object which consists an ID number, two double precision numbers for x and y coordinate, and a standard deviation. IdPt2D can also be used as a general data structure, though.
Member data
Name | Data type | Meaning |
id | int | ID number |
x | double | x coordinate |
y | double | y coordinate |
sd | double | standard deviation |
Operator
no operator provided
Construction function
{IdPt2D} ret = IDPT2D([{int} argm1, {double} argm2, {double} argm3, {double} argm4])
argm1 = Point ID (default = 0)
argm2 = x coordinate (default = 0)
argm3 = y coordinate (default = 0)
argm4 = standard deviation (default = 0)
Example:
->pt_1 = IdPt2D() | a deafult IdPt2D object (id = 0, x = 0, y = 0, sd = 0.00) |
->pt_1 = IdPt2D(10, 52.3, 65.2, 0.05) |
an IdPt2D object (id = 10, x = 52.3, y = 65.2, sd = 0.05) |
Lfunction
object.ID() = {int} left-value
object.X() = {double} left-value
object.Y() = {double} left-value
object.SD() = {double} left-value
Example:
->pt_1.id() = 5009
->pt_1.sd() = 1.25 |
Class function
ID | INIT | MATRIX | PT | SD |
X | Y |