Class SubCircle
- java.lang.Object
-
- org.hipparchus.geometry.partitioning.AbstractSubHyperplane<Sphere2D,S2Point,Circle,SubCircle,Sphere1D,S1Point,LimitAngle,SubLimitAngle>
-
- org.hipparchus.geometry.spherical.twod.SubCircle
-
- All Implemented Interfaces:
SubHyperplane<Sphere2D,S2Point,Circle,SubCircle>
public class SubCircle extends AbstractSubHyperplane<Sphere2D,S2Point,Circle,SubCircle,Sphere1D,S1Point,LimitAngle,SubLimitAngle>
This class represents a sub-hyperplane forCircle
.
-
-
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
Constructors Constructor Description SubCircle(Circle hyperplane, Region<Sphere1D,S1Point,LimitAngle,SubLimitAngle> remainingRegion)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SubCircle
buildNew(Circle hyperplane, Region<Sphere1D,S1Point,LimitAngle,SubLimitAngle> remainingRegion)
Build a sub-hyperplane from an hyperplane and a region.S2Point
getInteriorPoint()
Get an interior point.SubHyperplane.SplitSubHyperplane<Sphere2D,S2Point,Circle,SubCircle>
split(Circle hyperplane)
Split the instance in two parts by an hyperplane.-
Methods inherited from class org.hipparchus.geometry.partitioning.AbstractSubHyperplane
applyTransform, copySelf, getHyperplane, getRemainingRegion, getSize, isEmpty, reunite
-
-
-
-
Constructor Detail
-
SubCircle
public SubCircle(Circle hyperplane, Region<Sphere1D,S1Point,LimitAngle,SubLimitAngle> remainingRegion)
Simple constructor.- Parameters:
hyperplane
- underlying hyperplaneremainingRegion
- remaining region of the hyperplane
-
-
Method Detail
-
buildNew
protected SubCircle buildNew(Circle hyperplane, Region<Sphere1D,S1Point,LimitAngle,SubLimitAngle> remainingRegion)
Build a sub-hyperplane from an hyperplane and a region.- Specified by:
buildNew
in classAbstractSubHyperplane<Sphere2D,S2Point,Circle,SubCircle,Sphere1D,S1Point,LimitAngle,SubLimitAngle>
- Parameters:
hyperplane
- underlying hyperplaneremainingRegion
- remaining region of the hyperplane- Returns:
- a new sub-hyperplane
-
getInteriorPoint
public S2Point getInteriorPoint()
Get an interior point.- Returns:
- an arbitrary interior point, or null if sub-hyperplane is empty
-
split
public SubHyperplane.SplitSubHyperplane<Sphere2D,S2Point,Circle,SubCircle> split(Circle hyperplane)
Split the instance in two parts by an hyperplane.- Specified by:
split
in interfaceSubHyperplane<Sphere2D,S2Point,Circle,SubCircle>
- Specified by:
split
in classAbstractSubHyperplane<Sphere2D,S2Point,Circle,SubCircle,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
-
-