public class HalfSpaceBoundingCondition extends AbstractBoundingCondition
PointND
. This class is useful when a plane describes the extremum of an arbitrary shape.Constructor and Description |
---|
HalfSpaceBoundingCondition(Plane3D plane)
Initialize new HalfSpace Bounding Condition with a plane.
|
HalfSpaceBoundingCondition(PointND one,
PointND two)
Initialize new HalfSpace Bounding Condition with a plane defined by two points.
|
Modifier and Type | Method and Description |
---|---|
void |
flipCondition()
Invert bounding space.
|
Plane3D |
getBoundingSurface() |
boolean |
isSatisfiedBy(PointND point)
Determines whether the point is satisfied by the bounding condition
|
public HalfSpaceBoundingCondition(Plane3D plane)
plane
- is plane describing the extremum of an arbitrary shape.public HalfSpaceBoundingCondition(PointND one, PointND two)
one
- is first point on plane describing the extremum of an arbitrary shape.two
- is second point on plane describing the extremum of an arbitrary shape.public boolean isSatisfiedBy(PointND point)
AbstractBoundingCondition
isSatisfiedBy
in class AbstractBoundingCondition
point
- the pointpublic Plane3D getBoundingSurface()
getBoundingSurface
in class AbstractBoundingCondition
public void flipCondition()
AbstractBoundingCondition
flipCondition
in class AbstractBoundingCondition