VecPt3D

| HOME | BACK |

Overview

VecPt3D is a vector to store Pt3D objects. 

 

Member data

Name Data type Meaning
id int ID number of the vector
size int no of data in the vector
maxsize int no of maximum data can be stored in a vector

 

Operator

no operator provided

 

Construction function

{VecPt3D} ret  =  VECPT3D([{int} argm1])

argm1 = max no of data in the vector    (default = 3)

Example:

->v1 = VecPt3D() default max size = 5 (can store up to 5 points)

->v1 = VecPt3D(200)

create a vector of indices with max size = 200

 

Lfunction

object({int} argm1)   =  {IdPt3D} left-value

argm1 = vector index

object.ID()           =  {int} left-value

 

Example:

->v1(0) = Pt3D(50.5,60.25, 70.89) set value of the 1st element to an x y z coordinate of (50.5 ,60.25, 70.89)

 

Class function

 (  )  EXTEND FIND ID INIT
LOAD LOADSCH MATRIX MAX  MAXSIZE
MEAN MIN NEAREST PUSHBACK QFIND
REMALL REMOVE REMSORT REVERSE SAVE
 SHIFT SIZE SORT    
SWAP_XY SWAP_XZ SWAP_YZ  TRUNCATE WINDOW
 WINDOW_X WINDOW_XY      

 


| HOME | BACK |