Uses of Class
org.apache.commons.math3.geometry.euclidean.twod.Euclidean2D
-
Packages that use Euclidean2D Package Description 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.org.apache.commons.math3.geometry.euclidean.twod.hull This package provides algorithms to generate the convex hull for a set of points in an two-dimensional euclidean space. -
-
Uses of Euclidean2D in org.apache.commons.math3.geometry.euclidean.threed
Fields in org.apache.commons.math3.geometry.euclidean.threed with type parameters of type Euclidean2D Modifier and Type Field 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.Methods in org.apache.commons.math3.geometry.euclidean.threed that return Euclidean2D Modifier and Type Method Description Euclidean2D
Euclidean3D. getSubSpace()
Get the n-1 dimension subspace of this space.Methods in org.apache.commons.math3.geometry.euclidean.threed that return types with arguments of type Euclidean2D Modifier and Type Method Description SubHyperplane<Euclidean2D>
PolyhedronsSet.RotationTransform. apply(SubHyperplane<Euclidean2D> sub, Hyperplane<Euclidean3D> original, Hyperplane<Euclidean3D> transformed)
Transform a sub-hyperplane embedded in an hyperplane.SubHyperplane<Euclidean2D>
PolyhedronsSet.TranslationTransform. apply(SubHyperplane<Euclidean2D> sub, Hyperplane<Euclidean3D> original, Hyperplane<Euclidean3D> transformed)
Transform a sub-hyperplane embedded in an hyperplane.protected AbstractSubHyperplane<Euclidean3D,Euclidean2D>
SubPlane. buildNew(Hyperplane<Euclidean3D> hyperplane, Region<Euclidean2D> remainingRegion)
Build a sub-hyperplane from an hyperplane and a region.Method parameters in org.apache.commons.math3.geometry.euclidean.threed with type arguments of type Euclidean2D Modifier and Type Method Description SubHyperplane<Euclidean2D>
PolyhedronsSet.RotationTransform. apply(SubHyperplane<Euclidean2D> sub, Hyperplane<Euclidean3D> original, Hyperplane<Euclidean3D> transformed)
Transform a sub-hyperplane embedded in an hyperplane.SubHyperplane<Euclidean2D>
PolyhedronsSet.TranslationTransform. apply(SubHyperplane<Euclidean2D> sub, Hyperplane<Euclidean3D> original, Hyperplane<Euclidean3D> transformed)
Transform a sub-hyperplane embedded in an hyperplane.protected AbstractSubHyperplane<Euclidean3D,Euclidean2D>
SubPlane. buildNew(Hyperplane<Euclidean3D> hyperplane, Region<Euclidean2D> remainingRegion)
Build a sub-hyperplane from an hyperplane and a region.Vector3D
Plane. toSpace(Point<Euclidean2D> point)
Transform an in-plane point into a 3D space point.Vector3D
Plane. toSpace(Vector<Euclidean2D> vector)
Transform a sub-space point into a space point.Constructor parameters in org.apache.commons.math3.geometry.euclidean.threed with type arguments of type Euclidean2D Constructor Description SubPlane(Hyperplane<Euclidean3D> hyperplane, Region<Euclidean2D> remainingRegion)
Simple constructor. -
Uses of Euclidean2D in org.apache.commons.math3.geometry.euclidean.twod
Fields in org.apache.commons.math3.geometry.euclidean.twod declared as Euclidean2D Modifier and Type Field Description private static Euclidean2D
Euclidean2D.LazyHolder. INSTANCE
Cached field instance.Fields in org.apache.commons.math3.geometry.euclidean.twod with type parameters of type Euclidean2D Modifier and Type Field Description private BSPTree<Euclidean2D>
PolygonsSet.ConnectableSegment. endNode
Node whose intersection with current node defines end point.private BSPTree<Euclidean2D>
PolygonsSet.ConnectableSegment. node
Node containing segment.private BSPTree<Euclidean2D>
PolygonsSet.Edge. node
Node whose cut hyperplane contains this edge.private Region<Euclidean2D>
NestedLoops. polygon
Polygon enclosing a finite region.private BSPTree<Euclidean2D>
PolygonsSet.ConnectableSegment. startNode
Node whose intersection with current node defines start point.Methods in org.apache.commons.math3.geometry.euclidean.twod that return Euclidean2D Modifier and Type Method Description static Euclidean2D
Euclidean2D. getInstance()
Get the unique instance.Methods in org.apache.commons.math3.geometry.euclidean.twod that return types with arguments of type Euclidean2D Modifier and Type Method Description EnclosingBall<Euclidean2D,Vector2D>
DiskGenerator. ballOnSupport(java.util.List<Vector2D> support)
Create a ball whose boundary lies on prescribed support points.protected AbstractSubHyperplane<Euclidean2D,Euclidean1D>
SubLine. buildNew(Hyperplane<Euclidean2D> hyperplane, Region<Euclidean1D> remainingRegion)
Build a sub-hyperplane from an hyperplane and a region.BSPTree<Euclidean2D>
PolygonsSet.ConnectableSegment. getEndNode()
Get the node whose intersection with current node defines end point.BSPTree<Euclidean2D>
PolygonsSet.ConnectableSegment. getNode()
Get the node containing segment.BSPTree<Euclidean2D>
PolygonsSet.Edge. getNode()
Get the node whose cut hyperplane contains this edge.BSPTree<Euclidean2D>
PolygonsSet.ConnectableSegment. getStartNode()
Get the node whose intersection with current node defines start point.static Transform<Euclidean2D,Euclidean1D>
Line. getTransform(double cXX, double cYX, double cXY, double cYY, double cX1, double cY1)
Get aTransform
embedding an affine transform.static Transform<Euclidean2D,Euclidean1D>
Line. getTransform(java.awt.geom.AffineTransform transform)
Deprecated.as of 3.6, replaced withLine.getTransform(double, double, double, double, double, double)
Point<Euclidean2D>
Line. project(Point<Euclidean2D> point)
Project a point to the hyperplane.private BSPTree<Euclidean2D>
PolygonsSet.SegmentsBuilder. selectClosest(Vector2D point, java.lang.Iterable<BSPTree<Euclidean2D>> candidates)
Select the node whose cut sub-hyperplane is closest to specified point.SubHyperplane.SplitSubHyperplane<Euclidean2D>
SubLine. split(Hyperplane<Euclidean2D> hyperplane)
Split the instance in two parts by an hyperplane.private static BSPTree<Euclidean2D>
PolygonsSet. verticesToTree(double hyperplaneThickness, Vector2D... vertices)
Build the BSP tree of a polygons set from a simple list of vertices.Method parameters in org.apache.commons.math3.geometry.euclidean.twod with type arguments of type Euclidean2D Modifier and Type Method 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.private void
PolygonsSet.SegmentsBuilder. addContribution(SubHyperplane<Euclidean2D> sub, BSPTree<Euclidean2D> node, java.lang.Iterable<BSPTree<Euclidean2D>> splitters, boolean reversed)
Add the contribution of a boundary facet.private void
PolygonsSet.SegmentsBuilder. addContribution(SubHyperplane<Euclidean2D> sub, BSPTree<Euclidean2D> node, java.lang.Iterable<BSPTree<Euclidean2D>> splitters, boolean reversed)
Add the contribution of a boundary facet.private void
PolygonsSet.SegmentsBuilder. addContribution(SubHyperplane<Euclidean2D> sub, BSPTree<Euclidean2D> node, java.lang.Iterable<BSPTree<Euclidean2D>> splitters, boolean reversed)
Add the contribution of a boundary facet.Line
Line.LineTransform. apply(Hyperplane<Euclidean2D> hyperplane)
Transform an hyperplane of a space.SubHyperplane<Euclidean1D>
Line.LineTransform. apply(SubHyperplane<Euclidean1D> sub, Hyperplane<Euclidean2D> original, Hyperplane<Euclidean2D> transformed)
Transform a sub-hyperplane embedded in an hyperplane.Vector2D
Line.LineTransform. apply(Point<Euclidean2D> point)
Transform a point of a space.PolygonsSet
PolygonsSet. buildNew(BSPTree<Euclidean2D> tree)
Build a region using the instance as a prototype.protected AbstractSubHyperplane<Euclidean2D,Euclidean1D>
SubLine. buildNew(Hyperplane<Euclidean2D> hyperplane, Region<Euclidean1D> remainingRegion)
Build a sub-hyperplane from an hyperplane and a region.double
Vector2D. distance(Point<Euclidean2D> p)
Compute the distance between the instance and another point.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.java.lang.StringBuffer
Vector2DFormat. format(Vector<Euclidean2D> vector, java.lang.StringBuffer toAppendTo, java.text.FieldPosition pos)
Formats aVector
object to produce a string.double
Line. getOffset(Point<Euclidean2D> point)
Get the offset (oriented distance) of a point.double
Line. getOffset(Vector<Euclidean2D> vector)
Get the offset (oriented distance) of a vector.private static void
PolygonsSet. insertEdges(double hyperplaneThickness, BSPTree<Euclidean2D> node, java.util.List<PolygonsSet.Edge> edges)
Recursively build a tree by inserting cut sub-hyperplanes.Point<Euclidean2D>
Line. project(Point<Euclidean2D> point)
Project a point to the hyperplane.boolean
Line. sameOrientationAs(Hyperplane<Euclidean2D> other)
Check if the instance has the same orientation as another hyperplane.private BSPTree<Euclidean2D>
PolygonsSet.SegmentsBuilder. selectClosest(Vector2D point, java.lang.Iterable<BSPTree<Euclidean2D>> candidates)
Select the node whose cut sub-hyperplane is closest to specified point.void
PolygonsSet.Edge. setNode(BSPTree<Euclidean2D> node)
Set the node whose cut hyperplane contains this edge.SubHyperplane.SplitSubHyperplane<Euclidean2D>
SubLine. split(Hyperplane<Euclidean2D> hyperplane)
Split the instance in two parts by an hyperplane.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.Vector1D
Line. toSubSpace(Point<Euclidean2D> point)
Transform a space point into a sub-space point.Vector1D
Line. toSubSpace(Vector<Euclidean2D> vector)
Transform a space point into a sub-space point.void
PolygonsSet.SegmentsBuilder. visitInternalNode(BSPTree<Euclidean2D> node)
Visit a BSP tree node node having a non-null sub-hyperplane.void
PolygonsSet.SegmentsBuilder. visitLeafNode(BSPTree<Euclidean2D> node)
Visit a leaf BSP tree node node having a null sub-hyperplane.BSPTreeVisitor.Order
PolygonsSet.SegmentsBuilder. visitOrder(BSPTree<Euclidean2D> node)
Determine the visit order for this node.Constructor parameters in org.apache.commons.math3.geometry.euclidean.twod with type arguments of type Euclidean2D Constructor Description ConnectableSegment(Vector2D start, Vector2D end, Line line, BSPTree<Euclidean2D> node, BSPTree<Euclidean2D> startNode, BSPTree<Euclidean2D> endNode)
Build a segment.PolygonsSet(java.util.Collection<SubHyperplane<Euclidean2D>> boundary)
Deprecated.as of 3.3, replaced withPolygonsSet(Collection, double)
PolygonsSet(java.util.Collection<SubHyperplane<Euclidean2D>> boundary, double tolerance)
Build a polygons set from a Boundary REPresentation (B-rep).PolygonsSet(BSPTree<Euclidean2D> tree)
Deprecated.as of 3.3, replaced withPolygonsSet(BSPTree, double)
PolygonsSet(BSPTree<Euclidean2D> tree, double tolerance)
Build a polygons set from a BSP tree.SubLine(Hyperplane<Euclidean2D> hyperplane, Region<Euclidean1D> remainingRegion)
Simple constructor. -
Uses of Euclidean2D in org.apache.commons.math3.geometry.euclidean.twod.hull
Methods in org.apache.commons.math3.geometry.euclidean.twod.hull that return types with arguments of type Euclidean2D Modifier and Type Method Description Region<Euclidean2D>
ConvexHull2D. createRegion()
Returns a new region that is enclosed by the convex hull.
-