Uses of Class
org.apache.commons.geometry.euclidean.oned.Interval
Packages that use Interval
Package
Description
This package provides basic 1D geometry components.
This package provides classes and utilities for lines in 3D Euclidean space.
This package provides basic 2D geometry components.
-
Uses of Interval in org.apache.commons.geometry.euclidean.oned
Fields in org.apache.commons.geometry.euclidean.oned declared as IntervalModifier and TypeFieldDescriptionprivate static final Interval
Interval.FULL
Interval instance representing the entire real number line.Methods in org.apache.commons.geometry.euclidean.oned that return IntervalModifier and TypeMethodDescriptionprivate Interval
RegionBSPTree1D.createInterval
(RegionBSPTree1D.BoundaryPair start, RegionBSPTree1D.BoundaryPair end) Create an interval instance from the min boundary from the start boundary pair and the max boundary from the end boundary pair.static Interval
Interval.full()
Return an interval representing the entire real number line.RegionBSPTree1D.NodeRegionVisitor.getInterval()
Return the computed interval.RegionBSPTree1D.RegionNode1D.getNodeRegion()
Get the region represented by this node.static Interval
Interval.max
(double max, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Return an interval with the given max value and no min.static Interval
Interval.min
(double min, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Return an interval with the given min value and no max.static Interval
Interval.of
(double a, double b, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Create a new interval from the given point locations.static Interval
Interval.of
(OrientedPoint a, OrientedPoint b) Create a new interval from the given hyperplanes.static Interval
Interval.of
(Vector1D a, Vector1D b, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Create a new interval from the given points.static Interval
Interval.point
(double location, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Return an interval representing a single point at the given location.Return a new instance transformed by the argument.Methods in org.apache.commons.geometry.euclidean.oned that return types with arguments of type IntervalModifier and TypeMethodDescriptionInterval.split
(Hyperplane<Vector1D> splitter) Split this instance with the given hyperplane.RegionBSPTree1D.toIntervals()
Convert the region represented by this tree into a list of separateInterval
s, arranged in order of ascending min value.Methods in org.apache.commons.geometry.euclidean.oned with parameters of type IntervalModifier and TypeMethodDescriptionvoid
Add an interval to this region.static RegionBSPTree1D
Construct a new instance from one or more intervals.private static RegionBSPTree1D
RegionBSPTree1D.intervalToTree
(Interval interval) Return a tree representing the same region as the given interval.Method parameters in org.apache.commons.geometry.euclidean.oned with type arguments of type IntervalModifier and TypeMethodDescriptionstatic RegionBSPTree1D
Construct a new instance from the given collection of intervals. -
Uses of Interval in org.apache.commons.geometry.euclidean.threed.line
Methods in org.apache.commons.geometry.euclidean.threed.line that return IntervalModifier and TypeMethodDescriptionLineConvexSubset3D.getInterval()
Get the 1D interval for the line subset.LineConvexSubset3D.getSubspaceRegion()
Get the subspace region for the instance.Methods in org.apache.commons.geometry.euclidean.threed.line with parameters of type IntervalModifier and TypeMethodDescriptionstatic LineConvexSubset3D
Lines3D.subsetFromInterval
(Line3D line, Interval interval) Create a line convex subset from a line and a 1D interval on the line. -
Uses of Interval in org.apache.commons.geometry.euclidean.twod
Methods in org.apache.commons.geometry.euclidean.twod that return IntervalModifier and TypeMethodDescriptionLineConvexSubset.getInterval()
Get the 1D interval for the region.LineConvexSubset.getSubspaceRegion()
Get the embedded subspace region.Methods in org.apache.commons.geometry.euclidean.twod with parameters of type IntervalModifier and TypeMethodDescriptionstatic LineConvexSubset
Lines.subsetFromInterval
(Line line, Interval interval) Create a line subset from a line and a 1D interval on the line.