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.
|
boolean |
isEmpty()
Check if the instance is empty.
|
SubHyperplane.SplitSubHyperplane<Euclidean1D> |
split(Hyperplane<Euclidean1D> hyperplane)
Split the instance in two parts by an hyperplane.
|
applyTransform, copySelf, getHyperplane, getRemainingRegion, 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>
public boolean isEmpty()
isEmpty
in interface SubHyperplane<Euclidean1D>
isEmpty
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 SubHyperplane.SplitSubHyperplane<Euclidean1D> split(Hyperplane<Euclidean1D> hyperplane)
split
in interface SubHyperplane<Euclidean1D>
split
in class AbstractSubHyperplane<Euclidean1D,Euclidean1D>
hyperplane
- splitting hyperplaneCopyright © 2016-2021 CS GROUP. All rights reserved.