Modifier and Type | Method and Description |
---|---|
static CutAngle |
createNegativeFacing(double azimuth,
Precision.DoubleEquivalence precision)
Create a new instance at the given azimuth, oriented so that the plus side of the hyperplane points
toward decreasing angular values.
|
static CutAngle |
createNegativeFacing(Point1S point,
Precision.DoubleEquivalence precision)
Create a new instance at the given point, oriented so that the plus side of the hyperplane points
toward decreasing angular values.
|
static CutAngle |
createPositiveFacing(double azimuth,
Precision.DoubleEquivalence precision)
Create a new instance at the given azimuth, oriented so that the plus side of the hyperplane points
toward increasing angular values.
|
static CutAngle |
createPositiveFacing(Point1S point,
Precision.DoubleEquivalence precision)
Create a new instance at the given point, oriented so that the plus side of the hyperplane points
toward increasing angular values.
|
static CutAngle |
fromAzimuthAndDirection(double azimuth,
boolean positiveFacing,
Precision.DoubleEquivalence precision)
Create a new instance from the given azimuth and direction.
|
static CutAngle |
fromPointAndDirection(Point1S point,
boolean positiveFacing,
Precision.DoubleEquivalence precision)
Create a new instance from the given point and direction.
|
public static CutAngle fromAzimuthAndDirection(double azimuth, boolean positiveFacing, Precision.DoubleEquivalence precision)
azimuth
- azimuth value in radianspositiveFacing
- if true, the instance's plus side will be oriented to point toward increasing
angular values; if false, it will point toward decreasing angular valueprecision
- precision context used to determine floating point equalitypublic static CutAngle fromPointAndDirection(Point1S point, boolean positiveFacing, Precision.DoubleEquivalence precision)
point
- point representing the location of the hyperplanepositiveFacing
- if true, the instance's plus side will be oriented to point toward increasing
angular values; if false, it will point toward decreasing angular valueprecision
- precision context used to determine floating point equalitypublic static CutAngle createPositiveFacing(double azimuth, Precision.DoubleEquivalence precision)
azimuth
- azimuth value in radiansprecision
- precision precision context used to determine floating point equalitypublic static CutAngle createPositiveFacing(Point1S point, Precision.DoubleEquivalence precision)
point
- point representing the location of the hyperplaneprecision
- precision precision context used to determine floating point equalitypublic static CutAngle createNegativeFacing(double azimuth, Precision.DoubleEquivalence precision)
azimuth
- azimuth value in radiansprecision
- precision precision context used to determine floating point equalitypublic static CutAngle createNegativeFacing(Point1S point, Precision.DoubleEquivalence precision)
point
- point representing the location of the hyperplaneprecision
- precision precision context used to determine floating point equalityCopyright © 2016–2021 The Apache Software Foundation. All rights reserved.