Class SubPlane
java.lang.Object
org.apache.commons.math3.geometry.partitioning.AbstractSubHyperplane<Euclidean3D,Euclidean2D>
org.apache.commons.math3.geometry.euclidean.threed.SubPlane
- All Implemented Interfaces:
SubHyperplane<Euclidean3D>
This class represents a sub-hyperplane for
Plane.- Since:
- 3.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.commons.math3.geometry.partitioning.SubHyperplane
SubHyperplane.SplitSubHyperplane<U extends Space> -
Constructor Summary
ConstructorsConstructorDescriptionSubPlane(Hyperplane<Euclidean3D> hyperplane, Region<Euclidean2D> remainingRegion) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractSubHyperplane<Euclidean3D, Euclidean2D> buildNew(Hyperplane<Euclidean3D> hyperplane, Region<Euclidean2D> remainingRegion) Build a sub-hyperplane from an hyperplane and a region.split(Hyperplane<Euclidean3D> hyperplane) Split the instance in two parts by an hyperplane.Methods inherited from class org.apache.commons.math3.geometry.partitioning.AbstractSubHyperplane
applyTransform, copySelf, getHyperplane, getRemainingRegion, getSize, isEmpty, reunite, side
-
Constructor Details
-
SubPlane
Simple constructor.- Parameters:
hyperplane- underlying hyperplaneremainingRegion- remaining region of the hyperplane
-
-
Method Details
-
buildNew
protected AbstractSubHyperplane<Euclidean3D,Euclidean2D> buildNew(Hyperplane<Euclidean3D> hyperplane, Region<Euclidean2D> remainingRegion) Build a sub-hyperplane from an hyperplane and a region.- Specified by:
buildNewin classAbstractSubHyperplane<Euclidean3D,Euclidean2D> - Parameters:
hyperplane- underlying hyperplaneremainingRegion- remaining region of the hyperplane- Returns:
- a new sub-hyperplane
-
split
Split the instance in two parts by an hyperplane.- Specified by:
splitin interfaceSubHyperplane<Euclidean3D>- Specified by:
splitin classAbstractSubHyperplane<Euclidean3D,Euclidean2D> - 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
-