Package | Description |
---|---|
org.apache.commons.geometry.euclidean.oned |
This package provides basic 1D geometry components.
|
org.apache.commons.geometry.euclidean.threed.line |
This package provides classes and utilities for lines in 3D Euclidean space.
|
org.apache.commons.geometry.euclidean.twod |
This package provides basic 2D geometry components.
|
Modifier and Type | Method and Description |
---|---|
static Interval |
Interval.full()
Return an interval representing the entire real number line.
|
Interval |
RegionBSPTree1D.RegionNode1D.getNodeRegion()
Get the region represented by this node.
|
static Interval |
Interval.max(double max,
Precision.DoubleEquivalence precision)
Return an interval with the given max value and no min.
|
static Interval |
Interval.min(double min,
Precision.DoubleEquivalence precision)
Return an interval with the given min value and no max.
|
static Interval |
Interval.of(double a,
double b,
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,
Precision.DoubleEquivalence precision)
Create a new interval from the given points.
|
static Interval |
Interval.point(double location,
Precision.DoubleEquivalence precision)
Return an interval representing a single point at the given location.
|
Interval |
Interval.transform(Transform<Vector1D> transform)
Return a new instance transformed by the argument.
|
Modifier and Type | Method and Description |
---|---|
Split<Interval> |
Interval.split(Hyperplane<Vector1D> splitter) |
List<Interval> |
RegionBSPTree1D.toIntervals()
Convert the region represented by this tree into a list of separate
Interval s, arranged in order of ascending min value. |
Modifier and Type | Method and Description |
---|---|
void |
RegionBSPTree1D.add(Interval interval)
Add an interval to this region.
|
static RegionBSPTree1D |
RegionBSPTree1D.from(Interval interval,
Interval... more)
Construct a new instance from one or more intervals.
|
static RegionBSPTree1D |
RegionBSPTree1D.from(Interval interval,
Interval... more)
Construct a new instance from one or more intervals.
|
Modifier and Type | Method and Description |
---|---|
static RegionBSPTree1D |
RegionBSPTree1D.from(Iterable<Interval> intervals)
Construct a new instance from the given collection of intervals.
|
Modifier and Type | Method and Description |
---|---|
Interval |
LineConvexSubset3D.getInterval()
Get the 1D interval for the line subset.
|
Interval |
LineConvexSubset3D.getSubspaceRegion()
Get the subspace region for the instance.
|
Modifier and Type | Method and Description |
---|---|
static LineConvexSubset3D |
Lines3D.subsetFromInterval(Line3D line,
Interval interval)
Create a line convex subset from a line and a 1D interval on the line.
|
Modifier and Type | Method and Description |
---|---|
Interval |
LineConvexSubset.getInterval()
Get the 1D interval for the region.
|
Interval |
LineConvexSubset.getSubspaceRegion() |
Modifier and Type | Method and Description |
---|---|
static LineConvexSubset |
Lines.subsetFromInterval(Line line,
Interval interval)
Create a line subset from a line and a 1D interval on the line.
|
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.