public class SubOrientedPoint extends AbstractSubHyperplane<Euclidean1D,Euclidean1D>
OrientedPoint
.
An hyperplane in 1D is a simple point, its orientation being a boolean.
Instances of this class are guaranteed to be immutable.
SubHyperplane.SplitSubHyperplane<U extends Space>
Constructor and Description |
---|
SubOrientedPoint(Hyperplane<Euclidean1D> hyperplane,
Region<Euclidean1D> remainingRegion)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
applyTransform, copySelf, getHyperplane, getRemainingRegion, isEmpty, reunite
public SubOrientedPoint(Hyperplane<Euclidean1D> hyperplane, Region<Euclidean1D> remainingRegion)
hyperplane
- underlying hyperplaneremainingRegion
- remaining region of the hyperplanepublic 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 hyperplanepublic Side side(Hyperplane<Euclidean1D> hyperplane)
side
in interface SubHyperplane<Euclidean1D>
side
in class AbstractSubHyperplane<Euclidean1D,Euclidean1D>
hyperplane
- hyperplane to check instance againstSide.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 hyperplaneCopyright © 2017 CNES. All rights reserved.