logo

Class pointArray

logo
the fair gds editor

Introduction
Screenshots
License
Download
Userinterface
Function Index
White Papers
Community
Contact

mouse left
no help

pointArray Class Reference

pointarray more...

Public Member Functions

void attachPoint(point p)
attachPoint
void flip()
flip
void insert(uint i, point p)
insert
point point(int i)
get point
void resize(int size)
resize
void set(int i, int x, int y)
set xy
int size()
size

Detailed Description

A array of points.

Member Documentation

void pointArray::set(int i, int x, int y)


set xy

Set the x and y coordinates on Index i.

point pointArray::point(int i)


get point

Returns:

point point at index i.

int pointArray::size()


size

Returns:

size size of pointArray

void pointArray::resize(int size)


resize

Resize the array of points.

void pointArray::attachPoint(point p)


attachPoint

Add the point p to the end of the pointArray

void pointArray::flip()


flip

Turns around the order of points

void pointArray::insert(uint i, point p)


insert

Inserts the point p at the position p