logo

Class pointArray

logo

Introduction
Screenshots
License/Download
Installation
Userinterface
Function Index
Macro Programming
Links
Community

mouse left
no help

pointArray Class Reference

pointarray more...

Public Member Functions

voidattachPoint(point p)
attachPoint
voidflip()
flip
voidinsert(int i, point p)
insert
pointpoint(int i)
get point
intresize(int size)
resize
voidsetPoint(int i,point p)
set point
voidset(int i, int x, int y)
set xy
intsize()
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.

    void pointArray::setPoint(int i,point p)

      set point

      Set the point to index i.

      point pointArray::point(int i)

        get point

        Returns:

        point point at index i.

        int pointArray::size()

          size

          Returns:

          size size of pointArray

          int 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(int i, point p)

                  insert

                  Inserts the point p at the position p

                  SourceForge.net LogoThis page may be outdated. Visit the new LayoutEditor homepage for the newest infomations!