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 anArrayListofPolygons. SuchArrayListmust be defined by the user.
-
-
Constructor Summary
Constructors Constructor and Description Shape()Initialize a Shape.Shape(java.util.List<Polygon> polygons)Initialize a Shape and set its polygons (and bounding box).
-
Method Summary
-
Methods inherited from class org.jzy3d.plot3d.primitives.AbstractComposite
add, add, applyGeometryTransform, clear, draw, get, getBounds, getColor, getColorMapper, getDrawables, getTransform, isDetailedToString, remove, setColor, setColorMapper, setDetailedToString, setDisplayed, setFaceDisplayed, setTransform, setTransformBefore, setWireframeColor, setWireframeDisplayed, setWireframeWidth, size, toString, toString, updateBounds
-
Methods inherited from class org.jzy3d.plot3d.primitives.AbstractWireframeable
getFaceDisplayed, getWireframeColor, getWireframeDisplayed, getWireframeWidth
-
Methods inherited from class org.jzy3d.plot3d.primitives.AbstractDrawable
addDrawableListener, dispose, doTransform, getBarycentre, getBoundingBoxColor, getDistance, getLegend, getLongestDistance, getShortestDistance, getSpaceTransformer, getTransformBefore, hasLegend, isBoundingBoxDisplayed, isDisplayed, isLegendDisplayed, removeDrawableListener, setBoundingBoxColor, setBoundingBoxDisplayed, setLegend, setLegendDisplayed, setSpaceTransformer
-
-
-
-
Constructor Detail
-
Shape
public Shape()
Initialize a Shape.
-
Shape
public Shape(java.util.List<Polygon> polygons)
Initialize a Shape and set its polygons (and bounding box).- See Also:
for more information on the allowTransparency flag.
-
-
DMelt 3.0 © DataMelt by jWork.ORG