Uses of Class
org.apache.commons.geometry.euclidean.oned.OrientedPoint
-
Packages that use OrientedPoint Package Description org.apache.commons.geometry.euclidean.oned 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 OrientedPoint Modifier and Type Field Description private OrientedPoint
OrientedPoint.OrientedPointConvexSubset. hyperplane
The underlying hyperplane for this instance.private OrientedPoint
RegionBSPTree1D.BoundaryPair. max
The max boundary.private OrientedPoint
RegionBSPTree1D.NodeRegionVisitor. max
The max boundary for the region.private OrientedPoint
Interval. maxBoundary
OrientedPoint
instance representing the max boundary of the interval, or null if no max boundary exists.private OrientedPoint
RegionBSPTree1D.BoundaryPair. min
The min boundary.private OrientedPoint
RegionBSPTree1D.NodeRegionVisitor. min
The min boundary for the region.private 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 OrientedPoint Modifier and Type Method Description static 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
OrientedPoint.OrientedPointConvexSubset. getHyperplane()
Get the hyperplane containing this instance.OrientedPoint
RegionBSPTree1D.BoundaryPair. getMax()
Get the maximum boundary hyperplane.OrientedPoint
Interval. getMaxBoundary()
Get theOrientedPoint
forming the maximum bounding hyperplane of the interval, or null if none exists.OrientedPoint
RegionBSPTree1D.BoundaryPair. getMin()
Get the minimum boundary hyperplane.OrientedPoint
Interval. getMinBoundary()
Get theOrientedPoint
forming the minimum bounding hyperplane of the interval, or null if none exists.OrientedPoint
OrientedPoint. reverse()
Return a hyperplane that has the opposite orientation as this instance.OrientedPoint
OrientedPoint. transform(Transform<Vector1D> transform)
Transform this instance using the givenTransform
.Methods in org.apache.commons.geometry.euclidean.oned with parameters of type OrientedPoint Modifier and Type Method Description void
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 OrientedPoint Modifier and Type Method Description private void
RegionBSPTree1D. visitInsideIntervals(java.util.function.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(java.util.function.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(java.util.function.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(java.util.function.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 OrientedPoint Constructor Description BoundaryPair(OrientedPoint min, OrientedPoint max)
Simple constructor.Interval(OrientedPoint minBoundary, OrientedPoint maxBoundary)
Create an instance from min and max bounding hyperplanes.OrientedPointConvexSubset(OrientedPoint hyperplane)
Simple constructor.
-