VecIdPt2D |
Overview
VecIdPt2D is a vector to store IdPt2D 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
{VecIdPt2D} ret = VECIDPT2D([{int} argm1])
argm1 = max no of data in the vector (default = 3)
Example:
->v1 = VecIdPt2D() | default max size = 3 (can store up to 3 IdPt2D objects) |
->v1 = VecIdPt2D(200) |
create a vector of indices with max size = 200 |
Lfunction
object({int} argm1) = {IdPt2D} left-value
argm1 = vector index
object.ID() = {int} left-value
Example:
->v1(0) = IdPt2D(100,5,6,0.050) | set value of the 1st element to an IdPt2D, having id = 100, x = 5, y = 6 and sd = 0.050 |
Class function