math.geom3d
Interface Shape3D
-
- All Known Subinterfaces:
- ContinuousCurve3D, Curve3D
- All Known Implementing Classes:
- LineSegment3D, Plane3D, Point3D, PointSet3D, StraightLine3D
public interface Shape3D
-
-
Field Summary
Fields Modifier and Type Field and Description static doubleACCURACY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description Box3DboundingBox()Shape3Dclip(Box3D box)booleancontains(Point3D point)doubledistance(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.booleanisBounded()Returns true if the shape is bounded, that is if we can draw a finite rectangle enclosing the shape.booleanisEmpty()Shape3Dtransform(AffineTransform3D trans)
-
-
-
Field Detail
-
ACCURACY
static final double ACCURACY
- See Also:
- Constant Field Values
-
-
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.
-
boundingBox
Box3D boundingBox()
-
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)
-
-
DMelt 3.0 © DataMelt by jWork.ORG