Package | Description |
---|---|
fr.cnes.sirius.patrius.math.geometry | |
fr.cnes.sirius.patrius.math.geometry.euclidean.oned | |
fr.cnes.sirius.patrius.math.geometry.euclidean.threed | |
fr.cnes.sirius.patrius.math.geometry.euclidean.twod | |
fr.cnes.sirius.patrius.math.geometry.partitioning |
This package provides classes to implement Binary Space Partition trees.
|
Modifier and Type | Method and Description |
---|---|
Vector<S> |
Vector.add(double factor,
Vector<S> v)
Add a scaled vector to the instance.
|
Vector<S> |
Vector.add(Vector<S> v)
Add a vector to the instance.
|
Vector<S> |
Vector.getZero()
Get the null vector of the vectorial space or origin point of the affine space.
|
Vector<S> |
Vector.negate()
Get the opposite of the instance.
|
Vector<S> |
Vector.normalize()
Get a normalized vector aligned with the instance.
|
abstract Vector<S> |
VectorFormat.parse(String source)
Parses a string to produce a
Vector object. |
abstract Vector<S> |
VectorFormat.parse(String source,
ParsePosition pos)
Parses a string to produce a
Vector object. |
Vector<S> |
Vector.scalarMultiply(double a)
Multiply the instance by a scalar.
|
Vector<S> |
Vector.subtract(double factor,
Vector<S> v)
Subtract a scaled vector from the instance.
|
Vector<S> |
Vector.subtract(Vector<S> v)
Subtract a vector from the instance.
|
Modifier and Type | Method and Description |
---|---|
Vector<S> |
Vector.add(double factor,
Vector<S> v)
Add a scaled vector to the instance.
|
Vector<S> |
Vector.add(Vector<S> v)
Add a vector to the instance.
|
double |
Vector.distance(Vector<S> v)
Compute the distance between the instance and another vector according to the L2 norm.
|
double |
Vector.distance1(Vector<S> v)
Compute the distance between the instance and another vector according to the L1 norm.
|
double |
Vector.distanceInf(Vector<S> v)
Compute the distance between the instance and another vector according to the L∞ norm.
|
double |
Vector.distanceSq(Vector<S> v)
Compute the square of the distance between the instance and another vector.
|
double |
Vector.dotProduct(Vector<S> v)
Compute the dot-product of the instance and another vector.
|
String |
VectorFormat.format(Vector<S> vector)
Formats a
Vector object to produce a string. |
abstract StringBuffer |
VectorFormat.format(Vector<S> vector,
StringBuffer toAppendTo,
FieldPosition pos)
Formats a
Vector object to produce a string. |
Vector<S> |
Vector.subtract(double factor,
Vector<S> v)
Subtract a scaled vector from the instance.
|
Vector<S> |
Vector.subtract(Vector<S> v)
Subtract a vector from the instance.
|
Modifier and Type | Class and Description |
---|---|
class |
Vector1D
This class represents a 1D vector.
|
Modifier and Type | Method and Description |
---|---|
Vector1D |
Vector1D.add(double factor,
Vector<Euclidean1D> v)
Add a scaled vector to the instance.
|
Vector1D |
Vector1D.add(Vector<Euclidean1D> v)
Add a vector to the instance.
|
double |
Vector1D.distance(Vector<Euclidean1D> p)
Compute the distance between the instance and another vector according to the L2 norm.
|
double |
Vector1D.distance1(Vector<Euclidean1D> p)
Compute the distance between the instance and another vector according to the L1 norm.
|
double |
Vector1D.distanceInf(Vector<Euclidean1D> p)
Compute the distance between the instance and another vector according to the L∞ norm.
|
double |
Vector1D.distanceSq(Vector<Euclidean1D> p)
Compute the square of the distance between the instance and another vector.
|
double |
Vector1D.dotProduct(Vector<Euclidean1D> v)
Compute the dot-product of the instance and another vector.
|
StringBuffer |
Vector1DFormat.format(Vector<Euclidean1D> vector,
StringBuffer toAppendTo,
FieldPosition pos)
Formats a
Vector object to produce a string. |
double |
OrientedPoint.getOffset(Vector<Euclidean1D> point)
Get the offset (oriented distance) of a point.
|
Vector1D |
Vector1D.subtract(double factor,
Vector<Euclidean1D> v)
Subtract a scaled vector from the instance.
|
Vector1D |
Vector1D.subtract(Vector<Euclidean1D> p)
Subtract a vector from the instance.
|
Modifier and Type | Class and Description |
---|---|
class |
Vector3D
This class implements vectors in a three-dimensional space.
|
Modifier and Type | Method and Description |
---|---|
Vector3D |
Vector3D.add(double factor,
Vector<Euclidean3D> v)
Add a scaled vector to the instance.
|
Vector3D |
Vector3D.add(Vector<Euclidean3D> v)
Add a vector to the instance.
|
Vector3D |
Vector3D.crossProduct(Vector<Euclidean3D> v)
Compute the cross-product of the instance with another vector.
|
double |
Vector3D.distance(Vector<Euclidean3D> v)
Compute the distance between the instance and another vector according to the L2 norm.
|
double |
Vector3D.distance1(Vector<Euclidean3D> v)
Compute the distance between the instance and another vector according to the L1 norm.
|
double |
Vector3D.distanceInf(Vector<Euclidean3D> v)
Compute the distance between the instance and another vector according to the L∞ norm.
|
double |
Vector3D.distanceSq(Vector<Euclidean3D> v)
Compute the square of the distance between the instance and another vector.
|
double |
Vector3D.dotProduct(Vector<Euclidean3D> v)
Compute the dot-product of the instance and another vector.
|
StringBuffer |
Vector3DFormat.format(Vector<Euclidean3D> vector,
StringBuffer toAppendTo,
FieldPosition pos)
Formats a
Vector3D object to produce a string. |
double |
Plane.getOffset(Vector<Euclidean3D> point)
Get the offset (oriented distance) of a point.
|
Vector3D |
Vector3D.subtract(double factor,
Vector<Euclidean3D> v)
Subtract a scaled vector from the instance.
|
Vector3D |
Vector3D.subtract(Vector<Euclidean3D> v)
Subtract a vector from the instance.
|
Vector3D |
Line.toSpace(Vector<Euclidean1D> point)
Transform a sub-space point into a space point.
|
Vector3D |
Plane.toSpace(Vector<Euclidean2D> point)
Transform an in-plane point into a 3D space point.
|
Vector2D |
Plane.toSubSpace(Vector<Euclidean3D> point)
Transform a 3D space point into an in-plane point.
|
Vector1D |
Line.toSubSpace(Vector<Euclidean3D> point)
Transform a space point into a sub-space point.
|
Modifier and Type | Class and Description |
---|---|
class |
Vector2D
This class represents a 2D vector.
|
Modifier and Type | Method and Description |
---|---|
Vector2D |
Vector2D.add(double factor,
Vector<Euclidean2D> v)
Add a scaled vector to the instance.
|
Vector2D |
Vector2D.add(Vector<Euclidean2D> v)
Add a vector to the instance.
|
double |
Vector2D.distance(Vector<Euclidean2D> p)
Compute the distance between the instance and another vector according to the L2 norm.
|
double |
Vector2D.distance1(Vector<Euclidean2D> p)
Compute the distance between the instance and another vector according to the L1 norm.
|
double |
Vector2D.distanceInf(Vector<Euclidean2D> p)
Compute the distance between the instance and another vector according to the L∞ norm.
|
double |
Vector2D.distanceSq(Vector<Euclidean2D> p)
Compute the square of the distance between the instance and another vector.
|
double |
Vector2D.dotProduct(Vector<Euclidean2D> v)
Compute the dot-product of the instance and another vector.
|
StringBuffer |
Vector2DFormat.format(Vector<Euclidean2D> vector,
StringBuffer toAppendTo,
FieldPosition pos)
Formats a
Vector object to produce a string. |
double |
Line.getOffset(Vector<Euclidean2D> point)
Get the offset (oriented distance) of a point.
|
Vector2D |
Vector2D.subtract(double factor,
Vector<Euclidean2D> v)
Subtract a scaled vector from the instance.
|
Vector2D |
Vector2D.subtract(Vector<Euclidean2D> p)
Subtract a vector from the instance.
|
Vector2D |
Line.toSpace(Vector<Euclidean1D> point)
Transform a sub-space point into a space point.
|
Vector1D |
Line.toSubSpace(Vector<Euclidean2D> point)
Transform a space point into a sub-space point.
|
Modifier and Type | Method and Description |
---|---|
Vector<S> |
Transform.apply(Vector<S> point)
Transform a point of a space.
|
Vector<S> |
AbstractRegion.getBarycenter()
Get the barycenter of the instance.
|
Vector<S> |
Region.getBarycenter()
Get the barycenter of the instance.
|
Vector<S> |
Embedding.toSpace(Vector<T> point)
Transform a sub-space point into a space point.
|
Vector<T> |
Embedding.toSubSpace(Vector<S> point)
Transform a space point into a sub-space point.
|
Modifier and Type | Method and Description |
---|---|
Vector<S> |
Transform.apply(Vector<S> point)
Transform a point of a space.
|
protected Region.Location |
AbstractRegion.checkPoint(BSPTree<S> node,
Vector<S> point)
Check a point with respect to the region starting at a given node.
|
Region.Location |
AbstractRegion.checkPoint(Vector<S> point)
Check a point with respect to the region.
|
Region.Location |
Region.checkPoint(Vector<S> point)
Check a point with respect to the region.
|
BSPTree<S> |
BSPTree.getCell(Vector<S> point)
Get the cell to which a point belongs.
|
double |
Hyperplane.getOffset(Vector<S> point)
Get the offset (oriented distance) of a point.
|
protected void |
AbstractRegion.setBarycenter(Vector<S> barycenterIn)
Set the barycenter of the instance.
|
Vector<S> |
Embedding.toSpace(Vector<T> point)
Transform a sub-space point into a space point.
|
Vector<T> |
Embedding.toSubSpace(Vector<S> point)
Transform a space point into a sub-space point.
|
Copyright © 2018 CNES. All Rights Reserved.