|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.nexttext.renderer.util.Glyph3D
public class Glyph3D
A 3D representation of a glyph object.
| Constructor Summary | |
|---|---|
Glyph3D()
Constructor. |
|
| Method Summary | |
|---|---|
void |
addPolygon(ClosedPolygon poly)
This method adds one closed polygon to the subdivision (it can both be the outer-polygon or the inner) In normal glyphs, the outer should be clockwise and the inner counter-clockwise. |
int |
getChildIndex()
|
java.util.Vector<PlanarEdge> |
getOutline()
|
processing.core.PVector[] |
getOutlineNormals()
|
java.nio.IntBuffer |
getSurface()
|
java.util.ArrayList<TriangulationVertex> |
getVertices()
|
boolean |
isEmpty()
|
void |
setChildIndex(int index)
|
void |
triangulate()
Triangulate the glyph, but first save the original outline. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Glyph3D()
| Method Detail |
|---|
public void addPolygon(ClosedPolygon poly)
DoublyConnectedEdgeList.
public void triangulate()
public boolean isEmpty()
public java.util.Vector<PlanarEdge> getOutline()
public processing.core.PVector[] getOutlineNormals()
public java.nio.IntBuffer getSurface()
public java.util.ArrayList<TriangulationVertex> getVertices()
public void setChildIndex(int index)
public int getChildIndex()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||