math.geom3d
Class Shape3D.EmptySet3D

Package class diagram package Shape3D.EmptySet3D
java.lang.Object
  extended by math.geom3d.Shape3D.EmptySet3D
All Implemented Interfaces:
Serializable, Shape3D
Enclosing interface:
Shape3D

public static class Shape3D.EmptySet3D
extends Object
implements Shape3D

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface math.geom3d.Shape3D
Shape3D.EmptySet3D
 
Field Summary
 
Fields inherited from interface math.geom3d.Shape3D
ACCURACY, EMPTY_SET
 
Constructor Summary
protected Shape3D.EmptySet3D()
           
 
Method Summary
 Shape3D clip(Box3D box)
           
 boolean contains(Point3D point)
           
 Box3D getBoundingBox()
           
 double getDistance(Point3D p)
          return positive infinity.
 boolean isBounded()
          Returns true if the shape is bounded, that is if we can draw a finite rectangle enclosing the shape.
 boolean isEmpty()
           
 Shape3D transform(AffineTransform3D trans)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Shape3D.EmptySet3D

protected Shape3D.EmptySet3D()
Method Detail

getDistance

public double getDistance(Point3D p)
return positive infinity.

Specified by:
getDistance in interface Shape3D

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Shape3D

isBounded

public boolean isBounded()
Description copied from interface: Shape3D
Returns true if the shape is bounded, that is if we can draw a finite rectangle enclosing the shape. For example, a straight line or a parabola are not bounded.

Specified by:
isBounded in interface Shape3D

contains

public boolean contains(Point3D point)
Specified by:
contains in interface Shape3D

getBoundingBox

public Box3D getBoundingBox()
Specified by:
getBoundingBox in interface Shape3D

clip

public Shape3D clip(Box3D box)
Specified by:
clip in interface Shape3D

transform

public Shape3D transform(AffineTransform3D trans)
Specified by:
transform in interface Shape3D


Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.