|
Name |
RStrip |
Examples |
None available |
Description |
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. |
Constructors |
RStrip();
RStrip(s);
|
Parameters |
RStrip |
|
s, the object of which to make a copy |
|
Fields |
vertices |
|
Array of RPoint objects holding the vertices of the strip.
|
|
Methods |
addVertex ( ) |
|
Use this method to add new vertices to the strip.
|
countVertices ( ) |
|
Use this method to count the number of vertices in the strip.
|
draw ( ) |
|
Use this method to draw the strip.
|
getBounds ( ) |
|
Use this method to get the bounding box of the strip.
|
getPoints ( ) |
|
Use this to get the vertices of the strip. It returns the points in the way of an array of RPoint.
|
transform ( ) |
|
Use this method to transform the strip.
|
|
Usage |
Geometry |
Related |
RPoint
RMesh
|