public class Triangle extends Object
Constructor and Description |
---|
Triangle(Triangle src) |
Triangle(Vertex v1,
Vertex v2,
Vertex v3,
boolean[] boundaryVertices) |
Modifier and Type | Method and Description |
---|---|
boolean[] |
getEdgeBoundary() |
int |
getId() |
Vertex[] |
getVertices()
Returns array of 3 vertices, denominating the triangle.
|
boolean[] |
getVerticesBoundary() |
boolean |
isEdgesBoundary() |
boolean |
isLine()
Returns true if all vertices are lines, i.e.
|
boolean |
isOnCurve()
Returns true if all vertices are on-curve, otherwise false.
|
boolean |
isVerticesBoundary() |
void |
setId(int id) |
void |
setVerticesBoundary(boolean[] boundaryVertices) |
String |
toString() |
Triangle |
transform(jogamp.graph.geom.plane.AffineTransform t,
Vertex.Factory<? extends Vertex> vertexFactory)
Returns a transformed a clone of this instance using the given AffineTransform.
|
public Triangle(Triangle src)
public Triangle transform(jogamp.graph.geom.plane.AffineTransform t, Vertex.Factory<? extends Vertex> vertexFactory)
public final boolean isOnCurve()
public final boolean isLine()
public int getId()
public void setId(int id)
public Vertex[] getVertices()
public boolean isEdgesBoundary()
public boolean isVerticesBoundary()
public boolean[] getEdgeBoundary()
public boolean[] getVerticesBoundary()
public void setVerticesBoundary(boolean[] boundaryVertices)
Copyright 2010 JogAmp Community.