math.geom3d
Interface Shape3D
- All Known Subinterfaces:
- ContinuousCurve3D, Curve3D
- All Known Implementing Classes:
- LineSegment3D, Plane3D, Point3D, PointSet3D, StraightLine3D
public interface Shape3D
- Author:
- dlegland
ACCURACY
static final double ACCURACY
- See Also:
- Constant Field Values
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.
boundingBox
Box3D boundingBox()
clip
Shape3D clip(Box3D box)
transform
Shape3D transform(AffineTransform3D trans)
distance
double distance(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)