IdPt3D Class Function Manual

ID

| HOME | BACK |

Purpose

To report the current ID of the point object.

Class

IdPt3D

Usage

{int} ret = object.Z()

Example:

->pt = IdPt3D(1,100,200,300,4.5)

->print pt

1 ( 100.000 , 200.000 , 300.000) 4.500

->pt.id()

ans =      1

->

See also (class function)

x, y, z

| HOME | BACK |


INIT

| HOME | BACK |

Purpose

To initialize a Pt3D point object.

Class

IdPt3D

Usage

{void} object.INIT({int} argm1,{double} argm2,{double} argm3,{double} argm4,{double} argm5)

argm1 = ID number

argm2 = x coordinate

argm3 = y coordinate

argm4 = z coordinate

argm5 = standard deviation

Example:

->pt = IdPt3D()

->pt.init(1,100,200,300,4.5)

->print pt

1 ( 100.000 , 200.000 , 300.000) 4.500

->

See also (class function)

x, y, z, sd

| HOME | BACK |


MATRIX

| HOME | BACK |

Purpose

To convert to a Matrix object.

Class

IdPt3D

Usage

{Matrix} ret = object.MATRIX()

Example:

->pt = IdPt3D()

->pt.init(1,100,200,300,4.5)

->print pt

1 ( 100.000 , 200.000 , 300.000) 4.500

->M = pt.matrix()

->M

ans =

no of row : 5
no of column : 1

 0:      1.00000
 1:    100.00000
 2:    200.00000
 3:    300.00000
 4:      4.50000

->

See also (class function)

init

| HOME | BACK |


PT

| HOME | BACK |

Purpose

To convert to a Pt3D object.

Class

IdPt3D

Usage

{Pt3D} ret = object.PT()

Example:

->pt = IdPt3D()

->pt.init(1,100,200,300,4.5)

->print pt

1 ( 100.000 , 200.000 , 300.000) 4.500

->pt1 = pt.pt()

->pt1

ans = ( 100.000 , 200.000 , 300.000)

->

See also (class function)

init

| HOME | BACK |


SD

| HOME | BACK |

Purpose

To report the current value of standard deviation of the point object.

Class

IdPt3D

Usage

{double} ret = object.SD()

Example:

->pt = IdPt3D()

->pt.init(1,100,200,300,4.5)

->print pt

1 ( 100.000 , 200.000 , 300.000) 4.500

->pt.sd()

ans = 4.50000

->

See also (class function)

x, y, z

| HOME | BACK |


X

| HOME | BACK |

Purpose

To report the current x coordinate of the point object.

Class

IdPt3D

Usage

{double} ret = object.X()

Example:

->pt = IdPt3D()

->pt.init(1,100,200,300,4.5)

->print pt

1 ( 100.000 , 200.000 , 300.000) 4.500

->pt.x()

ans =   100.00000

->

 

See also (class function)

y, z, sd

| HOME | BACK |


Y

| HOME | BACK |

Purpose

To report the current y coordinate of the point object.

Class

IdPt3D

Usage

{double} ret = object.Y()

Example:

->pt = IdPt3D()

->pt.init(1,100,200,300,4.5)

->print pt

1 ( 100.000 , 200.000 , 300.000) 4.500

->pt.y()

ans =    200.00000

->

See also (class function)

x, z, sd

| HOME | BACK |


Z

| HOME | BACK |

Purpose

To report the current z coordinate of the point object.

Class

IdPt3D

Usage

{double} ret = object.Z()

Example:

->pt = IdPt3D()

->pt.init(1,100,200,300,4.5)

->print pt

1 ( 100.000 , 200.000 , 300.000) 4.500

->pt.z()

ans =    300.00000

->

See also (class function)

x, y, sd

| HOME | BACK |