HE_Mesh
5.1.0
|
Public Member Functions | |
RStrip () | |
int | countVertices () |
void | draw (PGraphics g) |
void | addVertex (RPoint p) |
void | addVertex (float x, float y) |
RPoint[] | getHandles () |
RPoint[] | getPoints () |
void | transform (RMatrix m) |
Public Attributes | |
int | type = RGeomElem.TRISTRIP |
Related Functions | |
(Note that these are not member functions.) | |
RPoint | vertices [] |
RStrip (RStrip s) | |
RContour | getBounds () |
RStrip is a reduced interface for creating, holding and drawing triangle strips. Triangle strips are ordered lists of points (RPoint) which define the vertices of a mesh. RStrip Geometry
geomerative.RStrip.RStrip | ( | ) |
void geomerative.RStrip.addVertex | ( | RPoint | p | ) |
Use this method to add new vertices to the strip. addVertex ( )
void geomerative.RStrip.addVertex | ( | float | x, |
float | y | ||
) |
int geomerative.RStrip.countVertices | ( | ) |
Use this method to count the number of vertices in the strip. countVertices
void geomerative.RStrip.draw | ( | PGraphics | g | ) |
Use this method to draw the strip. drawStrip
g | PGraphics, the graphics object on which to draw the strip |
RPoint [] geomerative.RStrip.getHandles | ( | ) |
RPoint [] geomerative.RStrip.getPoints | ( | ) |
void geomerative.RStrip.transform | ( | RMatrix | m | ) |
Use this method to transform the strip. transformStrip
m | RMatrix, the matrix of the affine transformation to apply to the strip |
|
related |
Use this method to get the bounding box of the strip. getBounds
Use this method to create a new strip. RStrip ( ) ( )
s | the object of which to make a copy |
|
related |
Array of RPoint objects holding the vertices of the strip. vertices
( ) ( )
int geomerative.RStrip.type = RGeomElem.TRISTRIP |