| Package | Description |
|---|---|
| com.vividsolutions.jts.algorithm |
Contains classes and interfaces implementing fundamental computational geometry algorithms.
|
| com.vividsolutions.jts.math | |
| com.vividsolutions.jts.triangulate.quadedge |
Classes to implement a topological subdivision of quadeges, to support creating triangulations and Voronoi diagrams.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
CGAlgorithmsDD.signOfDet2x2(DD
Computes the sign of the determinant of the 2x2 matrix with the given entries.
|
| Modifier and Type | Field and Description |
|---|---|
static DD |
DD.E
The value nearest to the constant e (the natural logarithm base).
|
static DD |
DD.NaN
A value representing the result of an operation which does not return a valid number.
|
static DD |
DD.PI
The value nearest to the constant Pi.
|
static DD |
DD.PI_2
The value nearest to the constant Pi / 2.
|
static DD |
DD.TWO_PI
The value nearest to the constant 2 * Pi.
|
| Modifier and Type | Method and Description |
|---|---|
DD |
DD.abs()
Returns the absolute value of this value.
|
DD |
DD.add(DD
Returns a new DoubleDouble whose value is
(this + y).
|
DD |
DD.add(double y)
Returns a new DoubleDouble whose value is
(this + y).
|
DD |
DD.ceil()
Returns the smallest (closest to negative infinity) value that is not less than the argument and is equal to a mathematical integer.
|
static DD |
DD.copy(DD
Creates a new DoubleDouble with the value of the argument.
|
DD |
DD.divide(DD
Computes a new DoubleDouble whose value is
(this / y).
|
DD |
DD.divide(double y)
Computes a new DoubleDouble whose value is
(this / y).
|
DD |
DD.floor()
Returns the largest (closest to positive infinity) value that is not greater than the argument and is equal to a mathematical integer.
|
DD |
DD.max(DD
Computes the maximum of this and another DD number.
|
DD |
DD.min(DD
Computes the minimum of this and another DD number.
|
DD |
DD.multiply(DD
Returns a new DoubleDouble whose value is
(this * y).
|
DD |
DD.multiply(double y)
Returns a new DoubleDouble whose value is
(this * y).
|
DD |
DD.negate()
Returns a new DoubleDouble whose value is
-this.
|
static DD |
DD.parse(String
Converts a string representation of a real number into a DoubleDouble value.
|
DD |
DD.pow(int exp)
Computes the value of this number raised to an integral power.
|
DD |
DD.reciprocal()
Returns a DoubleDouble whose value is
1 / this.
|
DD |
DD.rint()
Rounds this value to the nearest integer.
|
DD |
DD.selfAdd(DD
Adds the argument to the value of
this.
|
DD |
DD.selfAdd(double y)
Adds the argument to the value of
this.
|
DD |
DD.selfDivide(DD
Divides this object by the argument, returning
this.
|
DD |
DD.selfDivide(double y)
Divides this object by the argument, returning
this.
|
DD |
DD.selfMultiply(DD
Multiplies this object by the argument, returning
this.
|
DD |
DD.selfMultiply(double y)
Multiplies this object by the argument, returning
this.
|
DD |
DD.selfSqr()
Squares this object.
|
DD |
DD.selfSubtract(DD
Subtracts the argument from the value of
this.
|
DD |
DD.selfSubtract(double y)
Subtracts the argument from the value of
this.
|
DD |
DD.setValue(DD
Set the value for the DD object.
|
DD |
DD.setValue(double value)
Set the value for the DD object.
|
DD |
DD.sqr()
Computes the square of this value.
|
static DD |
DD.sqr(double x)
Computes the square of this value.
|
DD |
DD.sqrt()
Computes the positive square root of this value.
|
static DD |
DD.sqrt(double x)
|
DD |
DD.subtract(DD
Computes a new DoubleDouble object whose value is
(this - y).
|
DD |
DD.subtract(double y)
Computes a new DoubleDouble object whose value is
(this - y).
|
DD |
DD.trunc()
Returns the integer which is largest in absolute value and not further from zero than this value.
|
static DD |
DD.valueOf(double x)
Converts the
double argument to a DoubleDouble number.
|
static DD |
DD.valueOf(String
Converts the string argument to a DoubleDouble number.
|
| Modifier and Type | Method and Description |
|---|---|
DD |
DD.add(DD
Returns a new DoubleDouble whose value is
(this + y).
|
static DD |
DD.copy(DD
Creates a new DoubleDouble with the value of the argument.
|
DD |
DD.divide(DD
Computes a new DoubleDouble whose value is
(this / y).
|
boolean |
DD.equals(DD
Tests whether this value is equal to another
DoubleDouble value.
|
boolean |
DD.ge(DD
Tests whether this value is greater than or equals to another
DoubleDouble value.
|
boolean |
DD.gt(DD
Tests whether this value is greater than another
DoubleDouble value.
|
boolean |
DD.le(DD
Tests whether this value is less than or equal to another
DoubleDouble value.
|
boolean |
DD.lt(DD
Tests whether this value is less than another
DoubleDouble value.
|
DD |
DD.max(DD
Computes the maximum of this and another DD number.
|
DD |
DD.min(DD
Computes the minimum of this and another DD number.
|
DD |
DD.multiply(DD
Returns a new DoubleDouble whose value is
(this * y).
|
DD |
DD.selfAdd(DD
Adds the argument to the value of
this.
|
DD |
DD.selfDivide(DD
Divides this object by the argument, returning
this.
|
DD |
DD.selfMultiply(DD
Multiplies this object by the argument, returning
this.
|
DD |
DD.selfSubtract(DD
Subtracts the argument from the value of
this.
|
DD |
DD.setValue(DD
Set the value for the DD object.
|
DD |
DD.subtract(DD
Computes a new DoubleDouble object whose value is
(this - y).
|
| Constructor and Description | |
|---|---|
DD(DD
Creates a new DoubleDouble with value equal to the argument.
|
| Modifier and Type | Method and Description |
|---|---|
static DD |
TrianglePredicate.triAreaDDFast(Coordinate
|
static DD |
TrianglePredicate.triAreaDDSlow(DD
Computes twice the area of the oriented triangle (a, b, c), i.e., the area is positive if the triangle is oriented counterclockwise.
|
| Modifier and Type | Method and Description |
|---|---|
static DD |
TrianglePredicate.triAreaDDSlow(DD
Computes twice the area of the oriented triangle (a, b, c), i.e., the area is positive if the triangle is oriented counterclockwise.
|