Package | Description |
---|---|
org.apache.commons.math3.geometry.spherical.oned |
This package provides basic geometry components on the 1-sphere.
|
org.apache.commons.math3.geometry.spherical.twod |
This package provides basic geometry components on the 2-sphere.
|
Modifier and Type | Field and Description |
---|---|
private static Sphere1D |
Sphere1D.LazyHolder.INSTANCE
Cached field instance.
|
Modifier and Type | Field and Description |
---|---|
private BSPTree<Sphere1D> |
ArcsSet.SubArcsIterator.current
Current node.
|
private BSPTree<Sphere1D> |
ArcsSet.SubArcsIterator.firstStart
Start of the first arc.
|
Modifier and Type | Method and Description |
---|---|
static Sphere1D |
Sphere1D.getInstance()
Get the unique instance.
|
Modifier and Type | Method and Description |
---|---|
protected AbstractSubHyperplane<Sphere1D,Sphere1D> |
SubLimitAngle.buildNew(Hyperplane<Sphere1D> hyperplane,
Region<Sphere1D> remainingRegion)
Build a sub-hyperplane from an hyperplane and a region.
|
protected AbstractSubHyperplane<Sphere1D,Sphere1D> |
SubLimitAngle.buildNew(Hyperplane<Sphere1D> hyperplane,
Region<Sphere1D> remainingRegion)
Build a sub-hyperplane from an hyperplane and a region.
|
private static BSPTree<Sphere1D> |
ArcsSet.buildTree(double lower,
double upper,
double tolerance)
Build an inside/outside tree representing a single arc.
|
private BSPTree<Sphere1D> |
ArcsSet.childAfter(BSPTree<Sphere1D> node)
Find the child node just after an internal node.
|
private BSPTree<Sphere1D> |
ArcsSet.childBefore(BSPTree<Sphere1D> node)
Find the child node just before an internal node.
|
private BSPTree<Sphere1D> |
ArcsSet.getFirstArcStart()
Get the node corresponding to the first arc start.
|
private BSPTree<Sphere1D> |
ArcsSet.getFirstLeaf(BSPTree<Sphere1D> root)
Get the first leaf node of a tree.
|
private BSPTree<Sphere1D> |
ArcsSet.getLastLeaf(BSPTree<Sphere1D> root)
Get the last leaf node of a tree.
|
private BSPTree<Sphere1D> |
ArcsSet.leafAfter(BSPTree<Sphere1D> node)
Find the leaf node just after an internal node.
|
private BSPTree<Sphere1D> |
ArcsSet.leafBefore(BSPTree<Sphere1D> node)
Find the leaf node just before an internal node.
|
private BSPTree<Sphere1D> |
ArcsSet.nextInternalNode(BSPTree<Sphere1D> node)
Get the next internal node.
|
private BSPTree<Sphere1D> |
ArcsSet.previousInternalNode(BSPTree<Sphere1D> node)
Get the previous internal node.
|
Point<Sphere1D> |
LimitAngle.project(Point<Sphere1D> point)
Project a point to the hyperplane.
|
BoundaryProjection<Sphere1D> |
ArcsSet.projectToBoundary(Point<Sphere1D> point)
Project a point on the boundary of the region.
|
SubHyperplane.SplitSubHyperplane<Sphere1D> |
SubLimitAngle.split(Hyperplane<Sphere1D> hyperplane)
Split the instance in two parts by an hyperplane.
|
Modifier and Type | Method and Description |
---|---|
private void |
ArcsSet.addArcLimit(BSPTree<Sphere1D> tree,
double alpha,
boolean isStart)
Add an arc limit to a BSP tree under construction.
|
ArcsSet |
ArcsSet.buildNew(BSPTree<Sphere1D> tree)
Build a region using the instance as a prototype.
|
protected AbstractSubHyperplane<Sphere1D,Sphere1D> |
SubLimitAngle.buildNew(Hyperplane<Sphere1D> hyperplane,
Region<Sphere1D> remainingRegion)
Build a sub-hyperplane from an hyperplane and a region.
|
protected AbstractSubHyperplane<Sphere1D,Sphere1D> |
SubLimitAngle.buildNew(Hyperplane<Sphere1D> hyperplane,
Region<Sphere1D> remainingRegion)
Build a sub-hyperplane from an hyperplane and a region.
|
private BSPTree<Sphere1D> |
ArcsSet.childAfter(BSPTree<Sphere1D> node)
Find the child node just after an internal node.
|
private BSPTree<Sphere1D> |
ArcsSet.childBefore(BSPTree<Sphere1D> node)
Find the child node just before an internal node.
|
double |
S1Point.distance(Point<Sphere1D> point)
Compute the distance between the instance and another point.
|
private double |
ArcsSet.getAngle(BSPTree<Sphere1D> node)
Get the limit angle of an internal node.
|
private BSPTree<Sphere1D> |
ArcsSet.getFirstLeaf(BSPTree<Sphere1D> root)
Get the first leaf node of a tree.
|
private BSPTree<Sphere1D> |
ArcsSet.getLastLeaf(BSPTree<Sphere1D> root)
Get the last leaf node of a tree.
|
double |
LimitAngle.getOffset(Point<Sphere1D> point)
Get the offset (oriented distance) of a point.
|
private boolean |
ArcsSet.isAfterParent(BSPTree<Sphere1D> node)
Check if a node is the child after its parent in trigonometric order.
|
private boolean |
ArcsSet.isArcEnd(BSPTree<Sphere1D> node)
Check if an internal node corresponds to the end angle of an arc.
|
private boolean |
ArcsSet.isArcStart(BSPTree<Sphere1D> node)
Check if an internal node corresponds to the start angle of an arc.
|
private boolean |
ArcsSet.isBeforeParent(BSPTree<Sphere1D> node)
Check if a node is the child before its parent in trigonometric order.
|
private boolean |
ArcsSet.isDirect(BSPTree<Sphere1D> node)
Check if an internal node has a direct limit angle.
|
private BSPTree<Sphere1D> |
ArcsSet.leafAfter(BSPTree<Sphere1D> node)
Find the leaf node just after an internal node.
|
private BSPTree<Sphere1D> |
ArcsSet.leafBefore(BSPTree<Sphere1D> node)
Find the leaf node just before an internal node.
|
private BSPTree<Sphere1D> |
ArcsSet.nextInternalNode(BSPTree<Sphere1D> node)
Get the next internal node.
|
private BSPTree<Sphere1D> |
ArcsSet.previousInternalNode(BSPTree<Sphere1D> node)
Get the previous internal node.
|
Point<Sphere1D> |
LimitAngle.project(Point<Sphere1D> point)
Project a point to the hyperplane.
|
BoundaryProjection<Sphere1D> |
ArcsSet.projectToBoundary(Point<Sphere1D> point)
Project a point on the boundary of the region.
|
boolean |
LimitAngle.sameOrientationAs(Hyperplane<Sphere1D> other)
Check if the instance has the same orientation as another hyperplane.
|
Side |
SubLimitAngle.side(Hyperplane<Sphere1D> hyperplane)
Compute the relative position of the instance with respect
to an hyperplane.
|
SubHyperplane.SplitSubHyperplane<Sphere1D> |
SubLimitAngle.split(Hyperplane<Sphere1D> hyperplane)
Split the instance in two parts by an hyperplane.
|
Constructor and Description |
---|
ArcsSet(BSPTree<Sphere1D> tree,
double tolerance)
Build an arcs set from an inside/outside BSP tree.
|
ArcsSet(java.util.Collection<SubHyperplane<Sphere1D>> boundary,
double tolerance)
Build an arcs set from a Boundary REPresentation (B-rep).
|
SubLimitAngle(Hyperplane<Sphere1D> hyperplane,
Region<Sphere1D> remainingRegion)
Simple constructor.
|
SubLimitAngle(Hyperplane<Sphere1D> hyperplane,
Region<Sphere1D> remainingRegion)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
Sphere1D |
Sphere2D.getSubSpace()
Get the n-1 dimension subspace of this space.
|
Modifier and Type | Method and Description |
---|---|
SubHyperplane<Sphere1D> |
Circle.CircleTransform.apply(SubHyperplane<Sphere1D> sub,
Hyperplane<Sphere2D> original,
Hyperplane<Sphere2D> transformed)
Transform a sub-hyperplane embedded in an hyperplane.
|
protected AbstractSubHyperplane<Sphere2D,Sphere1D> |
SubCircle.buildNew(Hyperplane<Sphere2D> hyperplane,
Region<Sphere1D> remainingRegion)
Build a sub-hyperplane from an hyperplane and a region.
|
static Transform<Sphere2D,Sphere1D> |
Circle.getTransform(Rotation rotation)
Get a
Transform embedding a 3D rotation. |
Modifier and Type | Method and Description |
---|---|
SubHyperplane<Sphere1D> |
Circle.CircleTransform.apply(SubHyperplane<Sphere1D> sub,
Hyperplane<Sphere2D> original,
Hyperplane<Sphere2D> transformed)
Transform a sub-hyperplane embedded in an hyperplane.
|
protected AbstractSubHyperplane<Sphere2D,Sphere1D> |
SubCircle.buildNew(Hyperplane<Sphere2D> hyperplane,
Region<Sphere1D> remainingRegion)
Build a sub-hyperplane from an hyperplane and a region.
|
S2Point |
Circle.toSpace(Point<Sphere1D> point)
Transform a sub-space point into a space point.
|
Constructor and Description |
---|
SubCircle(Hyperplane<Sphere2D> hyperplane,
Region<Sphere1D> remainingRegion)
Simple constructor.
|