math.geom3d
Interface Shape3D

Package class diagram package Shape3D
All Superinterfaces:
Serializable
All Known Subinterfaces:
ContinuousCurve3D, Curve3D
All Known Implementing Classes:
LineSegment3D, Plane3D, Point3D, PointSet3D, Shape3D.EmptySet3D, StraightLine3D

public interface Shape3D
extends Serializable

Author:
dlegland

Nested Class Summary
static class Shape3D.EmptySet3D
           
 
Field Summary
static double ACCURACY
           
static Shape3D EMPTY_SET
           
 
Method Summary
 Shape3D clip(Box3D box)
           
 boolean contains(Point3D point)
           
 Box3D getBoundingBox()
           
 double getDistance(Point3D p)
          Gets the distance of the shape to the given point, or the distance of point to the frontier of the shape in the case of a plain shape.
 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)
           
 

Field Detail

ACCURACY

static final double ACCURACY
See Also:
Constant Field Values

EMPTY_SET

static final Shape3D EMPTY_SET
Method Detail

isEmpty

boolean isEmpty()

isBounded

boolean isBounded()
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.


getBoundingBox

Box3D getBoundingBox()

clip

Shape3D clip(Box3D box)

transform

Shape3D transform(AffineTransform3D trans)

getDistance

double getDistance(Point3D p)
Gets the distance of the shape to the given point, or the distance of point to the frontier of the shape in the case of a plain shape.


contains

boolean contains(Point3D point)


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