math.geom3d
Interface 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
ACCURACY
static final double ACCURACY
- See Also:
- Constant Field Values
EMPTY_SET
static final Shape3D EMPTY_SET
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 © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.