IdPt1D Class Function Manual

ID

| HOME | BACK |

Purpose

To report the current ID number of the IdPt1D object.

Class

IdPt1D

Usage

{int} ret = object.ID()

Example:

->pt = IdPt1D()

->pt.init(1,150.238,1.5)

->print pt

1 ( 150.238) 1.500

->pt.id()

ans = 1

->

See also (class function)

x, sd

| HOME | BACK |


INIT

| HOME | BACK |

Purpose

To initialize an IdPt1D object. 

Class

IdPt1D

Usage

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

argm1 = ID number

argm2 = x coordinate (or height)

argm3 = standard deviation (in pixel unit)

Example:

->pt = IdPt1D()

->pt.init(1,150.238,1.5)

->print pt

1 ( 150.238) 1.500

->

See also (class function)

id, x, sd

| HOME | BACK |


MATRIX

| HOME | BACK |

Purpose

To convert to a Matrix object.

Class

IdPt1D

Usage

{Matrix} ret = object.MATRIX()

Example:

->pt = IdPt1D()

->pt.init(1,150.238,1.5)

->print pt

1 ( 150.238) 1.500

->M = pt.matrix()

->M

ans =

no of row    : 3
no of column : 1

 0:      1.00000
 1:    150.23800
 2:      1.50000



->

See also (class function)

id, x, sd

| HOME | BACK |


SD

| HOME | BACK |

Purpose

To report the current standard deviation of the IdPt1D object.

Class

IdPt1D

Usage

{double} ret = object.ROW()

Example:

->pt = IdPt1D()

->pt.init(1,150.238,1.5)

->print pt

1 ( 150.238) 1.500

->pt.sd()

ans = 1.5000

->

See also (class function)

id, x

| HOME | BACK |


X

| HOME | BACK |

Purpose

To report the current x coordinate, or height, of the IdPt1D object.

Class

IdPt1D

Usage

{double} ret = object.ROW()

Example:

->pt = IdPt1D()

->pt.init(1,150.238,1.5)

->print pt

1 ( 150.238) 1.500

->pt.x()

ans = 150.2380

->

See also (class function)

id, sd

| HOME | BACK |