public abstract class AbstractSurface extends AbstractShape
AbstractShape
,
evaluate(double, double)
,
Serialized FormConstructor and Description |
---|
AbstractSurface() |
Modifier and Type | Method and Description |
---|---|
abstract PointND |
evaluate(double u,
double v)
Returns a point on the surface at position (u, v).
|
PointND |
evaluate(PointND u)
Returns the point on the shape at the internal position u.
|
int |
getInternalDimension()
returns the internal dimension of the shape, i.e.
|
abstract AbstractShape |
tessellate(double accuracy)
Creates a list of connected triangles that can be used to approximate the object.
|
applyTransform, getDimension, getHitsOnBoundingBox_slow, getHitsOnBoundingBox, getMax, getMin, getName, getRasterPoints, intersect, isBounded, setName
public PointND evaluate(PointND u)
AbstractShape
evaluate
in class AbstractShape
u
- the point in the internal parameter dimensionpublic abstract PointND evaluate(double u, double v)
u
- the internal position in u dimensionv
- the internal position in v dimensionpublic int getInternalDimension()
AbstractShape
getInternalDimension
in class AbstractShape
public abstract AbstractShape tessellate(double accuracy)
accuracy
- the maximal deviation in [mm]