Class SubPlane
- java.lang.Object
-
- org.hipparchus.geometry.partitioning.AbstractSubHyperplane<Euclidean3D,Vector3D,Plane,SubPlane,Euclidean2D,Vector2D,Line,SubLine>
-
- org.hipparchus.geometry.euclidean.threed.SubPlane
-
- All Implemented Interfaces:
SubHyperplane<Euclidean3D,Vector3D,Plane,SubPlane>
public class SubPlane extends AbstractSubHyperplane<Euclidean3D,Vector3D,Plane,SubPlane,Euclidean2D,Vector2D,Line,SubLine>
This class represents a sub-hyperplane forPlane
.
-
-
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>>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SubPlane
buildNew(Plane hyperplane, Region<Euclidean2D,Vector2D,Line,SubLine> remainingRegion)
Build a sub-hyperplane from an hyperplane and a region.Vector3D
getInteriorPoint()
Get an interior point.SubHyperplane.SplitSubHyperplane<Euclidean3D,Vector3D,Plane,SubPlane>
split(Plane 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
-
-
-
-
Method Detail
-
buildNew
protected SubPlane buildNew(Plane hyperplane, Region<Euclidean2D,Vector2D,Line,SubLine> remainingRegion)
Build a sub-hyperplane from an hyperplane and a region.- Specified by:
buildNew
in classAbstractSubHyperplane<Euclidean3D,Vector3D,Plane,SubPlane,Euclidean2D,Vector2D,Line,SubLine>
- Parameters:
hyperplane
- underlying hyperplaneremainingRegion
- remaining region of the hyperplane- Returns:
- a new sub-hyperplane
-
getInteriorPoint
public Vector3D getInteriorPoint()
Get an interior point.- Returns:
- an arbitrary interior point, or null if sub-hyperplane is empty
-
split
public SubHyperplane.SplitSubHyperplane<Euclidean3D,Vector3D,Plane,SubPlane> split(Plane hyperplane)
Split the instance in two parts by an hyperplane.- Specified by:
split
in interfaceSubHyperplane<Euclidean3D,Vector3D,Plane,SubPlane>
- Specified by:
split
in classAbstractSubHyperplane<Euclidean3D,Vector3D,Plane,SubPlane,Euclidean2D,Vector2D,Line,SubLine>
- Parameters:
hyperplane
- splitting hyperplane- Returns:
- an object containing both the part of the instance on the plus side of the instance and the part of the instance on the minus side of the instance
-
-