|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.math3.geometry.partitioning.AbstractSubHyperplane<Euclidean1D,Euclidean1D> org.apache.commons.math3.geometry.euclidean.oned.SubOrientedPoint
public class SubOrientedPoint
This class represents sub-hyperplane for OrientedPoint
.
An hyperplane in 1D is a simple point, its orientation being a boolean.
Instances of this class are guaranteed to be immutable.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.commons.math3.geometry.partitioning.SubHyperplane |
---|
SubHyperplane.SplitSubHyperplane<U extends Space> |
Constructor Summary | |
---|---|
SubOrientedPoint(Hyperplane<Euclidean1D> hyperplane,
Region<Euclidean1D> remainingRegion)
Simple constructor. |
Method Summary | |
---|---|
protected AbstractSubHyperplane<Euclidean1D,Euclidean1D> |
buildNew(Hyperplane<Euclidean1D> hyperplane,
Region<Euclidean1D> remainingRegion)
Build a sub-hyperplane from an hyperplane and a region. |
double |
getSize()
Get the size of the instance. |
Side |
side(Hyperplane<Euclidean1D> hyperplane)
Compute the relative position of the instance with respect to an hyperplane. |
SubHyperplane.SplitSubHyperplane<Euclidean1D> |
split(Hyperplane<Euclidean1D> hyperplane)
Split the instance in two parts by an hyperplane. |
Methods inherited from class org.apache.commons.math3.geometry.partitioning.AbstractSubHyperplane |
---|
applyTransform, copySelf, getHyperplane, getRemainingRegion, isEmpty, reunite |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubOrientedPoint(Hyperplane<Euclidean1D> hyperplane, Region<Euclidean1D> remainingRegion)
hyperplane
- underlying hyperplaneremainingRegion
- remaining region of the hyperplaneMethod Detail |
---|
public double getSize()
getSize
in interface SubHyperplane<Euclidean1D>
getSize
in class AbstractSubHyperplane<Euclidean1D,Euclidean1D>
protected AbstractSubHyperplane<Euclidean1D,Euclidean1D> buildNew(Hyperplane<Euclidean1D> hyperplane, Region<Euclidean1D> remainingRegion)
buildNew
in class AbstractSubHyperplane<Euclidean1D,Euclidean1D>
hyperplane
- underlying hyperplaneremainingRegion
- remaining region of the hyperplane
public Side side(Hyperplane<Euclidean1D> hyperplane)
side
in interface SubHyperplane<Euclidean1D>
side
in class AbstractSubHyperplane<Euclidean1D,Euclidean1D>
hyperplane
- hyperplane to check instance against
Side.PLUS
, Side.MINUS
, Side.BOTH
,
Side.HYPER
public SubHyperplane.SplitSubHyperplane<Euclidean1D> split(Hyperplane<Euclidean1D> hyperplane)
split
in interface SubHyperplane<Euclidean1D>
split
in class AbstractSubHyperplane<Euclidean1D,Euclidean1D>
hyperplane
- splitting hyperplane
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |