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, setPrecedence
public PolyLine(Vector3d[] vertices, java.awt.Color[] colors) throws InvalidPolygonException
InvalidPolygonException
public void draw(java.awt.Graphics2D g2d)
AbstractDrawable3DObject
draw
in class AbstractDrawable3DObject
g2d
- the Graphics2d object where to draw