Uses of Class
org.apache.commons.math3.geometry.euclidean.twod.Euclidean2D
Packages that use Euclidean2D
Package
Description
This package provides basic 3D geometry components.
This package provides basic 2D geometry components.
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 Euclidean2DModifier and TypeFieldDescriptionprivate 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 Euclidean2DModifier and TypeMethodDescriptionEuclidean3D.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 Euclidean2DModifier and TypeMethodDescriptionPolyhedronsSet.RotationTransform.apply
(SubHyperplane<Euclidean2D> sub, Hyperplane<Euclidean3D> original, Hyperplane<Euclidean3D> transformed) Transform a sub-hyperplane embedded in an hyperplane.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 Euclidean2DModifier and TypeMethodDescriptionPolyhedronsSet.RotationTransform.apply
(SubHyperplane<Euclidean2D> sub, Hyperplane<Euclidean3D> original, Hyperplane<Euclidean3D> transformed) Transform a sub-hyperplane embedded in an hyperplane.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.Plane.toSpace
(Point<Euclidean2D> point) Transform an in-plane point into a 3D space point.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 Euclidean2DModifierConstructorDescriptionSubPlane
(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 Euclidean2DModifier and TypeFieldDescriptionprivate static final Euclidean2D
Euclidean2D.LazyHolder.INSTANCE
Cached field instance.Fields in org.apache.commons.math3.geometry.euclidean.twod with type parameters of type Euclidean2DModifier and TypeFieldDescriptionprivate final BSPTree
<Euclidean2D> PolygonsSet.ConnectableSegment.endNode
Node whose intersection with current node defines end point.private final 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 final 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 Euclidean2DModifier and TypeMethodDescriptionstatic Euclidean2D
Euclidean2D.getInstance()
Get the unique instance.Methods in org.apache.commons.math3.geometry.euclidean.twod that return types with arguments of type Euclidean2DModifier and TypeMethodDescriptionDiskGenerator.ballOnSupport
(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.PolygonsSet.ConnectableSegment.getEndNode()
Get the node whose intersection with current node defines end point.PolygonsSet.ConnectableSegment.getNode()
Get the node containing segment.PolygonsSet.Edge.getNode()
Get the node whose cut hyperplane contains this edge.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
(AffineTransform transform) Deprecated.Line.project
(Point<Euclidean2D> point) Project a point to the hyperplane.private BSPTree
<Euclidean2D> PolygonsSet.SegmentsBuilder.selectClosest
(Vector2D point, Iterable<BSPTree<Euclidean2D>> candidates) Select the node whose cut sub-hyperplane is closest to specified point.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 Euclidean2DModifier and TypeMethodDescriptionVector2D.add
(double factor, Vector<Euclidean2D> v) Add a scaled vector to the instance.Vector2D.add
(Vector<Euclidean2D> v) Add a vector to the instance.private void
PolygonsSet.SegmentsBuilder.addContribution
(SubHyperplane<Euclidean2D> sub, BSPTree<Euclidean2D> node, Iterable<BSPTree<Euclidean2D>> splitters, boolean reversed) Add the contribution of a boundary facet.private void
PolygonsSet.SegmentsBuilder.addContribution
(SubHyperplane<Euclidean2D> sub, BSPTree<Euclidean2D> node, Iterable<BSPTree<Euclidean2D>> splitters, boolean reversed) Add the contribution of a boundary facet.private void
PolygonsSet.SegmentsBuilder.addContribution
(SubHyperplane<Euclidean2D> sub, BSPTree<Euclidean2D> node, Iterable<BSPTree<Euclidean2D>> splitters, boolean reversed) Add the contribution of a boundary facet.Line.LineTransform.apply
(Hyperplane<Euclidean2D> hyperplane) Transform an hyperplane of a space.Line.LineTransform.apply
(SubHyperplane<Euclidean1D> sub, Hyperplane<Euclidean2D> original, Hyperplane<Euclidean2D> transformed) Transform a sub-hyperplane embedded in an hyperplane.Line.LineTransform.apply
(Point<Euclidean2D> point) Transform a point of a space.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.Vector2DFormat.format
(Vector<Euclidean2D> vector, StringBuffer toAppendTo, 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, List<PolygonsSet.Edge> edges) Recursively build a tree by inserting cut sub-hyperplanes.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, 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.SubLine.split
(Hyperplane<Euclidean2D> hyperplane) Split the instance in two parts by an hyperplane.Vector2D.subtract
(double factor, Vector<Euclidean2D> v) Subtract a scaled vector from the instance.Vector2D.subtract
(Vector<Euclidean2D> p) Subtract a vector from the instance.Line.toSubSpace
(Point<Euclidean2D> point) Transform a space point into a sub-space point.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.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 Euclidean2DModifierConstructorDescription(package private)
ConnectableSegment
(Vector2D start, Vector2D end, Line line, BSPTree<Euclidean2D> node, BSPTree<Euclidean2D> startNode, BSPTree<Euclidean2D> endNode) Build a segment.PolygonsSet
(Collection<SubHyperplane<Euclidean2D>> boundary) Deprecated.as of 3.3, replaced withPolygonsSet(Collection, double)
PolygonsSet
(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 Euclidean2DModifier and TypeMethodDescriptionConvexHull2D.createRegion()
Returns a new region that is enclosed by the convex hull.
Line.getTransform(double, double, double, double, double, double)