IdPt2D Class Function Manual

ID

| HOME | BACK |

Purpose

To report the current value of ID of the point object.

Class

IdPt2D

Usage

{int} ret = object.ID()

Example:

->pt = IdPt2D()

->pt.init(1,100,200,3.5)

->print pt

1 ( 100.000 , 200.000) 3.500

->pt.id()

ans = 1

->

See also (class function)

x, y, sd

| HOME | BACK |


INIT

| HOME | BACK |

Purpose

To initialize a Pt2D point object.

Class

IdPt2D

Usage

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

argm1 = ID number

argm2 = x coordinate

argm3 = y coordinate

argm4 = standard deviation

Example:

->pt = IdPt2D()

->pt.init(1,100,200,3.5)

->print pt

1 ( 100.000 , 200.000) 3.500

->

See also (class function)

x, y

| HOME | BACK |


MATRIX

| HOME | BACK |

Purpose

To convert to a Matrix object.

Class

IdPt2D

Usage

{Matrix} ret = object.MATRIX()

Example:

->pt.init(1,100,200,3.5)

->print pt

1 ( 100.000 , 200.000) 3.500

->M = pt.matrix()

->M

ans =

no of row : 4
no of column : 1

0: 1.00000
1: 100.00000
2: 200.00000
3: 3.50000

->

See also (class function)

init

| HOME | BACK |


PT

| HOME | BACK |

Purpose

To convert to a Pt2D object.

Class

IdPt2D

Usage

{Pt2D} ret = object.PT()

Example:

->pt.init(1,100,200,3.5)

->print pt

1 ( 100.000 , 200.000) 3.500

->pt1 = pt.pt()

->pt1

ans = ( 100.000 , 200.000)

->

See also (class function)

matrix

| HOME | BACK |


SD

| HOME | BACK |

Purpose

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

Class

IdPt2D

Usage

{double} ret = object.SD()

Example:

->pt = IdPt2D()

->pt.init(1,100,200,3.5)

->print pt

1 ( 100.000 , 200.000) 3.500

->pt.sd()

ans =   3.50000

->

See also (class function)

x, y

| HOME | BACK |


X

| HOME | BACK |

Purpose

To report the current x coordinate of the point object.

Class

IdPt2D

Usage

{double} ret = object.X()

Example:

->pt = IdPt2D()

->pt.init(1,100,200,3.5)

->print pt

1 ( 100.000 , 200.000) 3.500

->pt.x()

ans =   100.00000

->

See also (class function)

y, sd

| HOME | BACK |


Y

| HOME | BACK |

Purpose

To report the current y coordinate of the point object.

Class

IdPt2D

Usage

{double} ret = object.Y()

Example:

->pt = IdPt2D()

->pt.init(1,100,200,3.5)

->print pt

1 ( 100.000 , 200.000) 3.500

->pt.y()

ans =   200.00000

->

See also (class function)

x, sd

| HOME | BACK |