Package | Description |
---|---|
org.apache.commons.math3.geometry.euclidean.oned |
This package provides basic 1D geometry components.
|
org.apache.commons.math3.geometry.euclidean.threed |
This package provides basic 3D geometry components.
|
org.apache.commons.math3.geometry.euclidean.twod |
This package provides basic 2D geometry components.
|
Modifier and Type | Field and Description |
---|---|
private static Euclidean1D |
Euclidean1D.LazyHolder.INSTANCE
Cached field instance.
|
Modifier and Type | Field and Description |
---|---|
private BSPTree<Euclidean1D> |
IntervalsSet.SubIntervalsIterator.current
Current node.
|
Modifier and Type | Method and Description |
---|---|
static Euclidean1D |
Euclidean1D.getInstance()
Get the unique instance.
|
Modifier and Type | Method and Description |
---|---|
protected AbstractSubHyperplane<Euclidean1D,Euclidean1D> |
SubOrientedPoint.buildNew(Hyperplane<Euclidean1D> hyperplane,
Region<Euclidean1D> remainingRegion)
Build a sub-hyperplane from an hyperplane and a region.
|
protected AbstractSubHyperplane<Euclidean1D,Euclidean1D> |
SubOrientedPoint.buildNew(Hyperplane<Euclidean1D> hyperplane,
Region<Euclidean1D> remainingRegion)
Build a sub-hyperplane from an hyperplane and a region.
|
private static BSPTree<Euclidean1D> |
IntervalsSet.buildTree(double lower,
double upper,
double tolerance)
Build an inside/outside tree representing a single interval.
|
private BSPTree<Euclidean1D> |
IntervalsSet.childAfter(BSPTree<Euclidean1D> node)
Find the child node just after an internal node.
|
private BSPTree<Euclidean1D> |
IntervalsSet.childBefore(BSPTree<Euclidean1D> node)
Find the child node just before an internal node.
|
private BSPTree<Euclidean1D> |
IntervalsSet.getFirstIntervalBoundary()
Get the node corresponding to the first interval boundary.
|
private BSPTree<Euclidean1D> |
IntervalsSet.getFirstLeaf(BSPTree<Euclidean1D> root)
Get the first leaf node of a tree.
|
private BSPTree<Euclidean1D> |
IntervalsSet.leafAfter(BSPTree<Euclidean1D> node)
Find the leaf node just after an internal node.
|
private BSPTree<Euclidean1D> |
IntervalsSet.leafBefore(BSPTree<Euclidean1D> node)
Find the leaf node just before an internal node.
|
private BSPTree<Euclidean1D> |
IntervalsSet.nextInternalNode(BSPTree<Euclidean1D> node)
Get the next internal node.
|
private BSPTree<Euclidean1D> |
IntervalsSet.previousInternalNode(BSPTree<Euclidean1D> node)
Get the previous internal node.
|
Point<Euclidean1D> |
OrientedPoint.project(Point<Euclidean1D> point)
Project a point to the hyperplane.
|
BoundaryProjection<Euclidean1D> |
IntervalsSet.projectToBoundary(Point<Euclidean1D> point)
Project a point on the boundary of the region.
|
SubHyperplane.SplitSubHyperplane<Euclidean1D> |
SubOrientedPoint.split(Hyperplane<Euclidean1D> hyperplane)
Split the instance in two parts by an hyperplane.
|
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.
|
IntervalsSet |
IntervalsSet.buildNew(BSPTree<Euclidean1D> tree)
Build a region using the instance as a prototype.
|
protected AbstractSubHyperplane<Euclidean1D,Euclidean1D> |
SubOrientedPoint.buildNew(Hyperplane<Euclidean1D> hyperplane,
Region<Euclidean1D> remainingRegion)
Build a sub-hyperplane from an hyperplane and a region.
|
protected AbstractSubHyperplane<Euclidean1D,Euclidean1D> |
SubOrientedPoint.buildNew(Hyperplane<Euclidean1D> hyperplane,
Region<Euclidean1D> remainingRegion)
Build a sub-hyperplane from an hyperplane and a region.
|
private BSPTree<Euclidean1D> |
IntervalsSet.childAfter(BSPTree<Euclidean1D> node)
Find the child node just after an internal node.
|
private BSPTree<Euclidean1D> |
IntervalsSet.childBefore(BSPTree<Euclidean1D> node)
Find the child node just before an internal node.
|
double |
Vector1D.distance(Point<Euclidean1D> p)
Compute the distance between the instance and another point.
|
double |
Vector1D.distance(Vector<Euclidean1D> p)
Deprecated.
as of 3.3, replaced with
Vector1D.distance(Point) |
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.
|
java.lang.StringBuffer |
Vector1DFormat.format(Vector<Euclidean1D> vector,
java.lang.StringBuffer toAppendTo,
java.text.FieldPosition pos)
Formats a
Vector object to produce a string. |
private double |
IntervalsSet.getAngle(BSPTree<Euclidean1D> node)
Get the abscissa of an internal node.
|
private BSPTree<Euclidean1D> |
IntervalsSet.getFirstLeaf(BSPTree<Euclidean1D> root)
Get the first leaf node of a tree.
|
double |
OrientedPoint.getOffset(Point<Euclidean1D> point)
Get the offset (oriented distance) of a point.
|
double |
OrientedPoint.getOffset(Vector<Euclidean1D> vector)
Get the offset (oriented distance) of a vector.
|
private boolean |
IntervalsSet.isAfterParent(BSPTree<Euclidean1D> node)
Check if a node is the child after its parent in ascending order.
|
private boolean |
IntervalsSet.isBeforeParent(BSPTree<Euclidean1D> node)
Check if a node is the child before its parent in ascending order.
|
private boolean |
IntervalsSet.isDirect(BSPTree<Euclidean1D> node)
Check if an internal node has a direct oriented point.
|
private boolean |
IntervalsSet.isIntervalEnd(BSPTree<Euclidean1D> node)
Check if an internal node corresponds to the end abscissa of an interval.
|
private boolean |
IntervalsSet.isIntervalStart(BSPTree<Euclidean1D> node)
Check if an internal node corresponds to the start abscissa of an interval.
|
private BSPTree<Euclidean1D> |
IntervalsSet.leafAfter(BSPTree<Euclidean1D> node)
Find the leaf node just after an internal node.
|
private BSPTree<Euclidean1D> |
IntervalsSet.leafBefore(BSPTree<Euclidean1D> node)
Find the leaf node just before an internal node.
|
private BSPTree<Euclidean1D> |
IntervalsSet.nextInternalNode(BSPTree<Euclidean1D> node)
Get the next internal node.
|
private BSPTree<Euclidean1D> |
IntervalsSet.previousInternalNode(BSPTree<Euclidean1D> node)
Get the previous internal node.
|
Point<Euclidean1D> |
OrientedPoint.project(Point<Euclidean1D> point)
Project a point to the hyperplane.
|
BoundaryProjection<Euclidean1D> |
IntervalsSet.projectToBoundary(Point<Euclidean1D> point)
Project a point on the boundary of the region.
|
boolean |
OrientedPoint.sameOrientationAs(Hyperplane<Euclidean1D> other)
Check if the instance has the same orientation as another hyperplane.
|
Side |
SubOrientedPoint.side(Hyperplane<Euclidean1D> hyperplane)
Compute the relative position of the instance with respect
to an hyperplane.
|
SubHyperplane.SplitSubHyperplane<Euclidean1D> |
SubOrientedPoint.split(Hyperplane<Euclidean1D> hyperplane)
Split the instance in two parts by an hyperplane.
|
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.
|
Constructor and Description |
---|
IntervalsSet(BSPTree<Euclidean1D> tree)
Deprecated.
as of 3.3, replaced with
IntervalsSet.IntervalsSet(BSPTree, double) |
IntervalsSet(BSPTree<Euclidean1D> tree,
double tolerance)
Build an intervals set from an inside/outside BSP tree.
|
IntervalsSet(java.util.Collection<SubHyperplane<Euclidean1D>> boundary)
Deprecated.
as of 3.3, replaced with
IntervalsSet.IntervalsSet(Collection, double) |
IntervalsSet(java.util.Collection<SubHyperplane<Euclidean1D>> boundary,
double tolerance)
Build an intervals set from a Boundary REPresentation (B-rep).
|
SubOrientedPoint(Hyperplane<Euclidean1D> hyperplane,
Region<Euclidean1D> remainingRegion)
Simple constructor.
|
SubOrientedPoint(Hyperplane<Euclidean1D> hyperplane,
Region<Euclidean1D> remainingRegion)
Simple constructor.
|
Modifier and Type | Field and Description |
---|---|
private Transform<Euclidean2D,Euclidean1D> |
PolyhedronsSet.RotationTransform.cachedTransform
Cached 2D transform valid inside the cached original hyperplane.
|
private Transform<Euclidean2D,Euclidean1D> |
PolyhedronsSet.TranslationTransform.cachedTransform
Cached 2D transform valid inside the cached original hyperplane.
|
Modifier and Type | Method and Description |
---|---|
Vector3D |
Line.toSpace(Point<Euclidean1D> point)
Transform a sub-space point into a space point.
|
Vector3D |
Line.toSpace(Vector<Euclidean1D> vector)
Transform a sub-space point into a space point.
|
Modifier and Type | Method and Description |
---|---|
Euclidean1D |
Euclidean2D.getSubSpace()
Get the n-1 dimension subspace of this space.
|
Modifier and Type | Method and Description |
---|---|
SubHyperplane<Euclidean1D> |
Line.LineTransform.apply(SubHyperplane<Euclidean1D> sub,
Hyperplane<Euclidean2D> original,
Hyperplane<Euclidean2D> transformed)
Transform a sub-hyperplane embedded in an hyperplane.
|
protected AbstractSubHyperplane<Euclidean2D,Euclidean1D> |
SubLine.buildNew(Hyperplane<Euclidean2D> hyperplane,
Region<Euclidean1D> remainingRegion)
Build a sub-hyperplane from an hyperplane and a region.
|
static Transform<Euclidean2D,Euclidean1D> |
Line.getTransform(java.awt.geom.AffineTransform transform)
Get a
Transform embedding an affine transform. |
Modifier and Type | Method and Description |
---|---|
SubHyperplane<Euclidean1D> |
Line.LineTransform.apply(SubHyperplane<Euclidean1D> sub,
Hyperplane<Euclidean2D> original,
Hyperplane<Euclidean2D> transformed)
Transform a sub-hyperplane embedded in an hyperplane.
|
protected AbstractSubHyperplane<Euclidean2D,Euclidean1D> |
SubLine.buildNew(Hyperplane<Euclidean2D> hyperplane,
Region<Euclidean1D> remainingRegion)
Build a sub-hyperplane from an hyperplane and a region.
|
Vector2D |
Line.toSpace(Point<Euclidean1D> point)
Transform a sub-space point into a space point.
|
Vector2D |
Line.toSpace(Vector<Euclidean1D> vector)
Transform a sub-space point into a space point.
|
Constructor and Description |
---|
SubLine(Hyperplane<Euclidean2D> hyperplane,
Region<Euclidean1D> remainingRegion)
Simple constructor.
|