Class SubLimitAngle
java.lang.Object
org.hipparchus.geometry.partitioning.AbstractSubHyperplane<Sphere1D,S1Point,LimitAngle,SubLimitAngle,Sphere1D,S1Point,LimitAngle,SubLimitAngle>
org.hipparchus.geometry.spherical.oned.SubLimitAngle
- All Implemented Interfaces:
SubHyperplane<Sphere1D,S1Point, LimitAngle, SubLimitAngle>
public class SubLimitAngle
extends AbstractSubHyperplane<Sphere1D,S1Point,LimitAngle,SubLimitAngle,Sphere1D,S1Point,LimitAngle,SubLimitAngle>
This class represents sub-hyperplane for
LimitAngle.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hipparchus.geometry.partitioning.SubHyperplane
SubHyperplane.SplitSubHyperplane<U extends Space,R extends Point<U, R>, F extends Hyperplane<U, R, F, J>, J extends SubHyperplane<U, R, F, J>> -
Constructor Summary
ConstructorsConstructorDescriptionSubLimitAngle(LimitAngle hyperplane, Region<Sphere1D, S1Point, LimitAngle, SubLimitAngle> remainingRegion) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected SubLimitAnglebuildNew(LimitAngle hyperplane, Region<Sphere1D, S1Point, LimitAngle, SubLimitAngle> remainingRegion) Build a sub-hyperplane from an hyperplane and a region.Get an interior point.doublegetSize()Get the size of the instance.booleanisEmpty()Check if the instance is empty.split(LimitAngle 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 Details
-
SubLimitAngle
public SubLimitAngle(LimitAngle hyperplane, Region<Sphere1D, S1Point, LimitAngle, SubLimitAngle> remainingRegion) Simple constructor.- Parameters:
hyperplane- underlying hyperplaneremainingRegion- remaining region of the hyperplane
-
-
Method Details
-
getSize
public double getSize()Get the size of the instance.- Specified by:
getSizein interfaceSubHyperplane<Sphere1D,S1Point, LimitAngle, SubLimitAngle> - Overrides:
getSizein classAbstractSubHyperplane<Sphere1D,S1Point, LimitAngle, SubLimitAngle, Sphere1D, S1Point, LimitAngle, SubLimitAngle> - 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,S1Point, LimitAngle, SubLimitAngle> - Overrides:
isEmptyin classAbstractSubHyperplane<Sphere1D,S1Point, LimitAngle, SubLimitAngle, Sphere1D, S1Point, LimitAngle, SubLimitAngle> - Returns:
- true if the instance is empty
-
buildNew
protected SubLimitAngle buildNew(LimitAngle hyperplane, Region<Sphere1D, S1Point, LimitAngle, SubLimitAngle> remainingRegion) Build a sub-hyperplane from an hyperplane and a region.- Specified by:
buildNewin classAbstractSubHyperplane<Sphere1D,S1Point, LimitAngle, SubLimitAngle, Sphere1D, S1Point, LimitAngle, SubLimitAngle> - Parameters:
hyperplane- underlying hyperplaneremainingRegion- remaining region of the hyperplane- Returns:
- a new sub-hyperplane
-
getInteriorPoint
Get an interior point.- Returns:
- an arbitrary interior point, or null if sub-hyperplane is empty
-
split
public SubHyperplane.SplitSubHyperplane<Sphere1D,S1Point, splitLimitAngle, SubLimitAngle> (LimitAngle hyperplane) Split the instance in two parts by an hyperplane.- Specified by:
splitin interfaceSubHyperplane<Sphere1D,S1Point, LimitAngle, SubLimitAngle> - Specified by:
splitin classAbstractSubHyperplane<Sphere1D,S1Point, LimitAngle, SubLimitAngle, Sphere1D, S1Point, LimitAngle, SubLimitAngle> - 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
-