public class SpritedRectangle extends ConvexObject
| Constructor and Description |
|---|
SpritedRectangle(Vector3d vertex,
Texture sprite,
AnchorPosition anchor,
G2DTextureDrawingTools drawingTools,
double rotationAngle) |
SpritedRectangle(Vector3d vertex,
Transformation transf,
java.awt.image.BufferedImage image,
Texture.Filter filter) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ConvexObject> |
breakObject(ConvexObject o)
Abstract method
Break this ConvexObject against the ConvexObject o
|
java.util.List<ConvexObject> |
breakObject(Segment o) |
java.util.List<ConvexObject> |
breakObject(SpritedRectangle o) |
java.util.List<ConvexObject> |
breakObject(Triangle o) |
java.util.List<ConvexObject> |
breakObject(Vector4d v)
Abstract method
Break this ConvexObject against a plane
|
void |
draw(java.awt.Graphics2D g2d)
Draw this object on a Graphics2D object
|
Texture |
getSprite() |
java.lang.String |
toString() |
addArea, areCoplanar, check, check2DIntersection, check2DTrueIntersection, drawAreas, isBehindgetColorsBarycenter, getNormal, getPrecedence, getProjectedContour, getProjectedPolyLine, getProvidedNormal, is2D, isBehind, isBehind, isDegenerate, isEqual, isGreaterOrEqual, isLowerOrEqual, isMonochromatic, isNanOrInf, isNanOrInf, isNegativeOrNull, isNull, isPlanar, isPositiveOrNull, minmax2D, minmax3D, resetDefaultPrecedence, setNormal, setPrecedencepublic SpritedRectangle(Vector3d vertex, Texture sprite, AnchorPosition anchor, G2DTextureDrawingTools drawingTools, double rotationAngle) throws InvalidPolygonException
InvalidPolygonExceptionpublic SpritedRectangle(Vector3d vertex, Transformation transf, java.awt.image.BufferedImage image, Texture.Filter filter) throws InvalidPolygonException
InvalidPolygonExceptionpublic java.util.List<ConvexObject> breakObject(ConvexObject o)
ConvexObjectbreakObject in class ConvexObjecto - a ConvexObjectpublic java.util.List<ConvexObject> breakObject(Triangle o)
public java.util.List<ConvexObject> breakObject(Segment o)
public java.util.List<ConvexObject> breakObject(SpritedRectangle o)
public java.util.List<ConvexObject> breakObject(Vector4d v)
ConvexObjectbreakObject in class ConvexObjectv - plane definitionpublic Texture getSprite()
public void draw(java.awt.Graphics2D g2d)
AbstractDrawable3DObjectdraw in class AbstractDrawable3DObjectg2d - the Graphics2d object where to drawpublic java.lang.String toString()
toString in class java.lang.Object