Package | Description |
---|---|
org.apache.commons.geometry.euclidean.oned |
This package provides basic 1D geometry components.
|
Modifier and Type | Method and Description |
---|---|
static OrientedPoint |
OrientedPoints.createNegativeFacing(double location,
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,
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,
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,
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,
Precision.DoubleEquivalence precision)
Create a new instance from the given location and boolean direction value.
|
static OrientedPoint |
OrientedPoints.fromPointAndDirection(Vector1D point,
boolean positiveFacing,
Precision.DoubleEquivalence precision)
Create a new instance from the given point and boolean direction value.
|
static OrientedPoint |
OrientedPoints.fromPointAndDirection(Vector1D point,
Vector1D direction,
Precision.DoubleEquivalence precision)
Create a new instance from the given point and direction.
|
OrientedPoint |
Interval.getMaxBoundary()
Get the
OrientedPoint forming the maximum bounding hyperplane
of the interval, or null if none exists. |
OrientedPoint |
Interval.getMinBoundary()
Get the
OrientedPoint forming the minimum bounding hyperplane
of the interval, or null if none exists. |
OrientedPoint |
OrientedPoint.reverse() |
OrientedPoint |
OrientedPoint.transform(Transform<Vector1D> transform) |
Modifier and Type | Method and Description |
---|---|
boolean |
OrientedPoint.eq(OrientedPoint other,
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.
|
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.