Class SubLimitAngle
- java.lang.Object
-
- org.hipparchus.geometry.partitioning.AbstractSubHyperplane<Sphere1D,Sphere1D>
-
- org.hipparchus.geometry.spherical.oned.SubLimitAngle
-
- All Implemented Interfaces:
SubHyperplane<Sphere1D>
public class SubLimitAngle extends AbstractSubHyperplane<Sphere1D,Sphere1D>
This class represents sub-hyperplane forLimitAngle.Instances of this class are guaranteed to be immutable.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hipparchus.geometry.partitioning.SubHyperplane
SubHyperplane.SplitSubHyperplane<U extends Space>
-
-
Constructor Summary
Constructors Constructor Description SubLimitAngle(Hyperplane<Sphere1D> hyperplane, Region<Sphere1D> remainingRegion)Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AbstractSubHyperplane<Sphere1D,Sphere1D>buildNew(Hyperplane<Sphere1D> hyperplane, Region<Sphere1D> remainingRegion)Build a sub-hyperplane from an hyperplane and a region.doublegetSize()Get the size of the instance.booleanisEmpty()Check if the instance is empty.SubHyperplane.SplitSubHyperplane<Sphere1D>split(Hyperplane<Sphere1D> hyperplane)Split the instance in two parts by an hyperplane.-
Methods inherited from class org.hipparchus.geometry.partitioning.AbstractSubHyperplane
applyTransform, copySelf, getHyperplane, getRemainingRegion, reunite
-
-
-
-
Constructor Detail
-
SubLimitAngle
public SubLimitAngle(Hyperplane<Sphere1D> hyperplane, Region<Sphere1D> remainingRegion)
Simple constructor.- Parameters:
hyperplane- underlying hyperplaneremainingRegion- remaining region of the hyperplane
-
-
Method Detail
-
getSize
public double getSize()
Get the size of the instance.- Specified by:
getSizein interfaceSubHyperplane<Sphere1D>- Overrides:
getSizein classAbstractSubHyperplane<Sphere1D,Sphere1D>- Returns:
- the size of the instance (this is a length in 1D, an area in 2D, a volume in 3D ...)
-
isEmpty
public boolean isEmpty()
Check if the instance is empty.- Specified by:
isEmptyin interfaceSubHyperplane<Sphere1D>- Overrides:
isEmptyin classAbstractSubHyperplane<Sphere1D,Sphere1D>- Returns:
- true if the instance is empty
-
buildNew
protected AbstractSubHyperplane<Sphere1D,Sphere1D> buildNew(Hyperplane<Sphere1D> hyperplane, Region<Sphere1D> remainingRegion)
Build a sub-hyperplane from an hyperplane and a region.- Specified by:
buildNewin classAbstractSubHyperplane<Sphere1D,Sphere1D>- Parameters:
hyperplane- underlying hyperplaneremainingRegion- remaining region of the hyperplane- Returns:
- a new sub-hyperplane
-
split
public SubHyperplane.SplitSubHyperplane<Sphere1D> split(Hyperplane<Sphere1D> hyperplane)
Split the instance in two parts by an hyperplane.- Specified by:
splitin interfaceSubHyperplane<Sphere1D>- Specified by:
splitin classAbstractSubHyperplane<Sphere1D,Sphere1D>- Parameters:
hyperplane- splitting hyperplane- Returns:
- an object containing both the part of the instance on the plus side of the hyperplane and the part of the instance on the minus side of the hyperplane
-
-