Uses of Class
org.apache.commons.geometry.euclidean.oned.OrientedPoint
Packages that use OrientedPoint
Package
Description
This package provides basic 1D geometry components.
-
Uses of OrientedPoint in org.apache.commons.geometry.euclidean.oned
Fields in org.apache.commons.geometry.euclidean.oned declared as OrientedPointModifier and TypeFieldDescriptionprivate final OrientedPoint
OrientedPoint.OrientedPointConvexSubset.hyperplane
The underlying hyperplane for this instance.private final OrientedPoint
RegionBSPTree1D.BoundaryPair.max
The max boundary.private OrientedPoint
RegionBSPTree1D.NodeRegionVisitor.max
The max boundary for the region.private final OrientedPoint
Interval.maxBoundary
OrientedPoint
instance representing the max boundary of the interval, or null if no max boundary exists.private final OrientedPoint
RegionBSPTree1D.BoundaryPair.min
The min boundary.private OrientedPoint
RegionBSPTree1D.NodeRegionVisitor.min
The min boundary for the region.private final OrientedPoint
Interval.minBoundary
OrientedPoint
instance representing the min boundary of the interval, or null if no min boundary exists.Methods in org.apache.commons.geometry.euclidean.oned that return OrientedPointModifier and TypeMethodDescriptionstatic OrientedPoint
OrientedPoints.createNegativeFacing
(double location, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Create a new instance at the given location, oriented so that it is facing negative infinity.static OrientedPoint
OrientedPoints.createNegativeFacing
(Vector1D point, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Create a new instance at the given point, oriented so that it is facing negative infinity.static OrientedPoint
OrientedPoints.createPositiveFacing
(double location, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Create a new instance at the given location, oriented so that it is facing positive infinity.static OrientedPoint
OrientedPoints.createPositiveFacing
(Vector1D point, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Create a new instance at the given point, oriented so that it is facing positive infinity.static OrientedPoint
OrientedPoints.fromLocationAndDirection
(double location, boolean positiveFacing, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Create a new instance from the given location and boolean direction value.static OrientedPoint
OrientedPoints.fromPointAndDirection
(Vector1D point, boolean positiveFacing, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Create a new instance from the given point and boolean direction value.static OrientedPoint
OrientedPoints.fromPointAndDirection
(Vector1D point, Vector1D direction, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Create a new instance from the given point and direction.OrientedPoint.OrientedPointConvexSubset.getHyperplane()
Get the hyperplane containing this instance.RegionBSPTree1D.BoundaryPair.getMax()
Get the maximum boundary hyperplane.Interval.getMaxBoundary()
Get theOrientedPoint
forming the maximum bounding hyperplane of the interval, or null if none exists.RegionBSPTree1D.BoundaryPair.getMin()
Get the minimum boundary hyperplane.Interval.getMinBoundary()
Get theOrientedPoint
forming the minimum bounding hyperplane of the interval, or null if none exists.OrientedPoint.reverse()
Return a hyperplane that has the opposite orientation as this instance.Transform this instance using the givenTransform
.Methods in org.apache.commons.geometry.euclidean.oned with parameters of type OrientedPointModifier and TypeMethodDescriptionvoid
RegionBSPTree1D.NodeRegionVisitor.accept
(OrientedPoint minBoundary, OrientedPoint maxBoundary) void
RegionBSPTree1D.RegionSizePropertiesVisitor.accept
(OrientedPoint min, OrientedPoint max) private RegionLocation
Interval.classifyWithBoundary
(double location, OrientedPoint boundary) Classify the location using the given interval boundary, which may be null.boolean
OrientedPoint.eq
(OrientedPoint other, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Return true if this instance should be considered equivalent to the argument, using the given precision context for comparison.static Interval
Interval.of
(OrientedPoint a, OrientedPoint b) Create a new interval from the given hyperplanes.private static void
Interval.validateBoundaryRelationship
(OrientedPoint a, OrientedPoint b) Validate that the orientations and positions of the arguments may be used to create an interval.Method parameters in org.apache.commons.geometry.euclidean.oned with type arguments of type OrientedPointModifier and TypeMethodDescriptionprivate void
RegionBSPTree1D.visitInsideIntervals
(BiConsumer<OrientedPoint, OrientedPoint> visitor) Compute the min/max intervals for all interior convex regions in the tree and pass the values to the given visitor function.private void
RegionBSPTree1D.visitInsideIntervals
(BiConsumer<OrientedPoint, OrientedPoint> visitor) Compute the min/max intervals for all interior convex regions in the tree and pass the values to the given visitor function.private void
RegionBSPTree1D.RegionNode1D.visitNodeInterval
(BiConsumer<? super OrientedPoint, ? super OrientedPoint> visitor) Determine the min/max boundaries for the convex region represented by this node and pass the values to the visitor function.private void
RegionBSPTree1D.RegionNode1D.visitNodeInterval
(BiConsumer<? super OrientedPoint, ? super OrientedPoint> visitor) Determine the min/max boundaries for the convex region represented by this node and pass the values to the visitor function.Constructors in org.apache.commons.geometry.euclidean.oned with parameters of type OrientedPointModifierConstructorDescription(package private)
BoundaryPair
(OrientedPoint min, OrientedPoint max) Simple constructor.private
Interval
(OrientedPoint minBoundary, OrientedPoint maxBoundary) Create an instance from min and max bounding hyperplanes.(package private)
OrientedPointConvexSubset
(OrientedPoint hyperplane) Simple constructor.