VecXYpline

| HOME | BACK |

Overview

VecXYpline is a vector of VecPt2D objects.  Its main purpose is to store poly-lines, expressed by VecPt2D, a list of x and y coordinates. 

 

Member data

Name Data type Meaning
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

{VecXYpline} ret  =  VECXYPLINED([{int} argm1])

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

Example:

->v1 = VecXYpline() create a vector with max size = 1

->v1 = VecXYpline(200)

create a vector with max size = 200

 

Lfunction

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

argm1 = vector index

Example:

->v1(0) = pline_1 set value of the 1st element pline_1, which is a VecPt2D object

 

 

Class function

 (  ) EXTEND FIND    
INIT LAST LOAD  MAX MAXSIZE
MIN PUSHBACK QFIND    
 REMALL REMOVE REVERSE    
SAVE  SIZE SMOOTH SORT  
TRUNCATE UNSTACK WINDOW WINDOW_XY  

 


| HOME | BACK |