org.jzy3d.plot3d.primitives
Class Shape
java.lang.Object
org.jzy3d.plot3d.primitives.AbstractDrawable
org.jzy3d.plot3d.primitives.AbstractWireframeable
org.jzy3d.plot3d.primitives.AbstractComposite
org.jzy3d.plot3d.primitives.Shape
- All Implemented Interfaces:
- IMultiColorable, ISingleColorable, IGLRenderer, ISortableDraw
public class Shape
- extends AbstractComposite
Allows building custom shapes defined by an ArrayList
of Polygon
s.
Such ArrayList
must be defined by the user.
- Author:
- Martin Pernollet
Constructor Summary |
Shape()
Initialize a Shape. |
Shape(List<Polygon> polygons)
Initialize a Shape and set its polygons (and bounding box). |
Methods inherited from class org.jzy3d.plot3d.primitives.AbstractComposite |
add, add, clear, draw, get, getBounds, getColor, getColorMapper, getDrawables, getTransform, isDetailedToString, remove, setColor, setColorMapper, setDetailedToString, setDisplayed, setFaceDisplayed, setTransform, setWireframeColor, setWireframeDisplayed, setWireframeWidth, size, toString, toString |
Methods inherited from class org.jzy3d.plot3d.primitives.AbstractDrawable |
addDrawableListener, call, call, callWithAlphaFactor, dispose, fireDrawableChanged, fireDrawableChanged, getBarycentre, getDistance, getLegend, getLongestDistance, getShortestDistance, hasLegend, isDisplayed, isLegendDisplayed, negative, removeDrawableListener, setLegend, setLegendDisplayed |
Shape
public Shape()
- Initialize a Shape.
Shape
public Shape(List<Polygon> polygons)
- Initialize a Shape and set its polygons (and bounding box).
- See Also:
for more information on the allowTransparency flag.