public class Ellipsoid extends QuadricSurface
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
Ellipsoid() |
Ellipsoid(double dx,
double dy,
double dz) |
Ellipsoid(double dx,
double dy,
double dz,
AffineTransform transform) |
Modifier and Type | Method and Description |
---|---|
void |
applyTransform(Transform t)
Applies the Transform t to the object.
|
Axis |
getPrincipalAxis() |
PointND[] |
getRasterPoints(int number)
Rasters the shape with a given number of points or less.
|
boolean |
isBounded()
Returns true if the shape is of limited space
|
AbstractShape |
tessellate(double accuracy)
Creates a list of connected triangles that can be used to approximate the object.
|
evaluate, getDimension, getHits, getHitsOnBoundingBox, isMember
addAllBoundingConditions, addBoundingCondition, evaluate, getChangeOfAxisMatrix, getInternalDimension, getRasterPoints, getTransform, intersect
getHitsOnBoundingBox_slow, getMax, getMin, getName, setName
public static final long serialVersionUID
public Ellipsoid()
public Ellipsoid(double dx, double dy, double dz)
public Ellipsoid(double dx, double dy, double dz, AffineTransform transform)
public boolean isBounded()
AbstractShape
isBounded
in class QuadricSurface
public PointND[] getRasterPoints(int number)
AbstractShape
getRasterPoints
in class QuadricSurface
number
- the number of pointspublic Axis getPrincipalAxis()
getPrincipalAxis
in class SimpleSurface
public void applyTransform(Transform t)
Transformable
applyTransform
in interface Transformable
applyTransform
in class SimpleSurface
t
- the transform to apply to the object.public AbstractShape tessellate(double accuracy)
AbstractSurface
tessellate
in class AbstractSurface
accuracy
- the maximal deviation in [mm]