public class PolyLine extends AbstractDrawable3DObject
| Constructor and Description |
|---|
PolyLine(Vector3d[] vertices,
java.awt.Color[] colors) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(java.awt.Graphics2D g2d)
Draw this object on a Graphics2D object
|
static java.util.List<PolyLine> |
get(Vector3d[] vertices,
java.awt.Color[] colors) |
getColorsBarycenter, getNormal, getPrecedence, getProjectedContour, getProjectedPolyLine, getProvidedNormal, is2D, isBehind, isBehind, isDegenerate, isEqual, isGreaterOrEqual, isLowerOrEqual, isNanOrInf, isNanOrInf, isNegativeOrNull, isNull, isPlanar, isPositiveOrNull, minmax2D, minmax3D, resetDefaultPrecedence, setNormal, setPrecedencepublic PolyLine(Vector3d[] vertices, java.awt.Color[] colors) throws InvalidPolygonException
InvalidPolygonExceptionpublic void draw(java.awt.Graphics2D g2d)
AbstractDrawable3DObjectdraw in class AbstractDrawable3DObjectg2d - the Graphics2d object where to draw