public class QuadricBoundingCondition extends AbstractBoundingCondition
QuadricSurface
. This class is useful when a quadric shape describes the extremum of an arbitrary shapeQuadricSurface
,
Serialized FormModifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
QuadricBoundingCondition(QuadricSurface surface)
Initialize bounding condition defiend by
QuadricSurface . |
Modifier and Type | Method and Description |
---|---|
void |
flipCondition()
Invert bounding space.
|
QuadricSurface |
getBoundingSurface() |
boolean |
isSatisfiedBy(PointND point)
Determines whether the point is satisfied by the bounding condition
|
public static final long serialVersionUID
public QuadricBoundingCondition(QuadricSurface surface)
QuadricSurface
.surface
- is QuadricSurface
describing the extremum of an arbitrary shape.public boolean isSatisfiedBy(PointND point)
AbstractBoundingCondition
isSatisfiedBy
in class AbstractBoundingCondition
point
- the pointpublic QuadricSurface getBoundingSurface()
getBoundingSurface
in class AbstractBoundingCondition
public void flipCondition()
AbstractBoundingCondition
flipCondition
in class AbstractBoundingCondition