public class Cone extends QuadricSurface
Constructor and Description |
---|
Cone() |
Cone(double dx,
double dy,
double dz) |
Modifier and Type | Method and Description |
---|---|
void |
applyTransform(Transform t)
Applies the Transform t to the object.
|
int |
getDimension()
Returns the external dimension of the shape.
|
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, getHits, getHitsOnBoundingBox, isMember
addAllBoundingConditions, addBoundingCondition, evaluate, getChangeOfAxisMatrix, getInternalDimension, getRasterPoints, getTransform, intersect
getHitsOnBoundingBox_slow, getMax, getMin, getName, setName
public boolean isBounded()
AbstractShape
isBounded
in class QuadricSurface
public int getDimension()
AbstractShape
getDimension
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]