lt.monarch.math.geom
Class GridPolygon3D
java.lang.Object
lt.monarch.math.geom.Polygon2D
lt.monarch.math.geom.Polygon3D
lt.monarch.math.geom.GridPolygon3D
- All Implemented Interfaces:
- java.awt.Shape, java.io.Serializable, Primitive, Primitive2D, Primitive3D
public class GridPolygon3D
extends Polygon3D
A class for 3d chart grid plane which can be assigned
with a number of lines.
- See Also:
- Serialized Form
| Methods inherited from class lt.monarch.math.geom.Polygon3D |
addPoint, addPoint, addPoint, addPoints, addPoints, clear, clone, close, get2Dcopy, get3DPoints, getPath, getPoint, getSelectionId, getZpoints, setSelectionID, toString, transformTo2D, transformTo2DTriangles |
| Methods inherited from class lt.monarch.math.geom.Polygon2D |
addPoint, addPoints, addPoints, contains, contains, contains, contains, finalize, get2DPoints, getBounds, getBounds2D, getPathIterator, getPathIterator, getPoint, getXpoints, getXPoints, getYpoints, getYPoints, intersects, intersects, isEmpty, isInList, size |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.awt.Shape |
contains, contains, contains, contains, getBounds, getPathIterator, getPathIterator, intersects, intersects |
GridPolygon3D
public GridPolygon3D()
addLine3D
public void addLine3D(Line3D line)
- Adds a line.
- Parameters:
line - - the line
getLines
public java.util.List<Line3D> getLines()
- Retrieves a list of lines.
- Returns:
- - the list of lines
setChartCenter
public void setChartCenter(Point3D chartCenter)
- Sets a chart center.
- Parameters:
chartCenter - chart center point
getChartCenter
public Point3D getChartCenter()
- Retrieves a chart center point.
dispose
public void dispose()
- Description copied from interface:
Primitive2D
- Disposes object
- Specified by:
dispose in interface Primitive
- Specified by:
dispose in interface Primitive2D
- Overrides:
dispose in class Polygon3D
getNormal
public Vector3d getNormal()
setNormal
public void setNormal(Vector3d normal)