public static final class AngularInterval.Convex extends AngularInterval
pi
.AngularInterval.Convex
Modifier and Type | Method and Description |
---|---|
static AngularInterval.Convex |
of(CutAngle a,
CutAngle b)
Return an instance representing the convex angular interval between the given oriented points.
|
static AngularInterval.Convex |
of(double min,
double max,
Precision.DoubleEquivalence precision)
Return an instance representing the convex angular interval between the given min and max azimuth
values.
|
static AngularInterval.Convex |
of(Point1S min,
Point1S max,
Precision.DoubleEquivalence precision)
Return an instance representing the convex angular interval between the given min and max azimuth
points.
|
Split<AngularInterval.Convex> |
splitDiameter(CutAngle splitter)
Split the instance along a circle diameter.The diameter is defined by the given split point and
its reversed antipodal point.
|
List<AngularInterval.Convex> |
toConvex()
Return a list of convex intervals comprising this region.
|
AngularInterval.Convex |
transform(Transform<Point1S> transform)
Return a new instance transformed by the argument.
|
classify, full, getBoundarySize, getCentroid, getMax, getMaxBoundary, getMidPoint, getMin, getMinBoundary, getSize, isEmpty, isFull, project, split, toString, toTree, wrapsZero
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isFinite, isInfinite
public List<AngularInterval.Convex> toConvex()
toConvex
in class AngularInterval
AngularInterval.Convex
public AngularInterval.Convex transform(Transform<Point1S> transform)
transform
in class AngularInterval
transform
- transform to applypublic Split<AngularInterval.Convex> splitDiameter(CutAngle splitter)
splitter
- split point defining one side of the split diameterpublic static AngularInterval.Convex of(double min, double max, Precision.DoubleEquivalence precision)
2pi
. An instance representing the full space
is returned if either point is infinite or min and max are equivalent as evaluated by the
given precision context.min
- min azimuth valuemax
- max azimuth valueprecision
- precision precision context used to compare floating point valuesIllegalArgumentException
- if either azimuth is infinite or NaN, or the given angular
interval is not convex (meaning it has a size of greater than pi
)public static AngularInterval.Convex of(Point1S min, Point1S max, Precision.DoubleEquivalence precision)
2pi
. An instance representing the full space
is returned if either point is infinite or min and max are equivalent as evaluated by the
given precision context.min
- min azimuth valuemax
- max azimuth valueprecision
- precision precision context used to compare floating point valuesIllegalArgumentException
- if either azimuth is infinite or NaN, or the given angular
interval is not convex (meaning it has a size of greater than pi
)public static AngularInterval.Convex of(CutAngle a, CutAngle b)
a
- first oriented pointb
- second oriented pointIllegalArgumentException
- if either azimuth is infinite or NaN, or the given angular
interval is not convex (meaning it has a size of greater than pi
)Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.