gumbo.graphic.math
Class Polygon3

java.lang.Object
  |
  +--gumbo.graphic.math.Plane3
        |
        +--gumbo.graphic.math.Polygon3
All Implemented Interfaces:
Graphic, GraphicGeometry, java.io.Serializable, TransformableGraphic
Direct Known Subclasses:
Polygon3.Immutable

public class Polygon3
extends Plane3

A 3D spatial element representing a plane with a finite and convex extent, with the extent defined by 3 or more coplanar vertex points.

Version:
$Revision: 1.8 $
Author:
Jon Barrilleaux (jonb@jmbaai.com) of JMB and Associates Inc.
See Also:
Serialized Form

Nested Class Summary
static class Polygon3.Immutable
           
 
Constructor Summary
Polygon3()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Polygon3 getPolygon3()
          Gets a singleton immutable view of this object with the same identity (hashCode(), equals()) as this object.
 
Methods inherited from class gumbo.graphic.math.Plane3
getDistance, getGraphic, getGraphicLocalSpace, getNormal, getPlane3, setDistance, setNormal, toString, transformGraphic, transformGraphic
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Polygon3

public Polygon3()
Method Detail

getPolygon3

public Polygon3 getPolygon3()
Gets a singleton immutable view of this object with the same identity (hashCode(), equals()) as this object.

Returns:
The view. Never null.

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class Plane3