Uses of Class
com.irurueta.geometry.CoincidentPointsException
Packages that use CoincidentPointsException
Package
Description
This package contains classes to work with basic geometric entities such as
2D or 3D points, lines, planes, 2D or 3D triangles or polygons, circles,
spheres, rotations, transformations etc.
This package contains classes to estimate basic geometric structures
-
Uses of CoincidentPointsException in com.irurueta.geometry
Methods in com.irurueta.geometry that throw CoincidentPointsExceptionModifier and TypeMethodDescriptionvoidPolygon3D.closestPoint(Point3D point, Point3D result) Computes the closes point to provided point that is locus of this polygon (i.e. lies on a border of this polygon).static doublePolygon3D.getAngleBetweenPolygons(Polygon3D polygon1, Polygon3D polygon2) Returns the angle between two polygons, assuming that all vertices of each polygon lie on a given plane.static doublePolygon3D.getAngleBetweenPolygons(Polygon3D polygon1, Polygon3D polygon2, double threshold) Returns the angle between two polygons, assuming that all vertices of each polygon lie on a given plane.static doublePolygon3D.getAngleBetweenPolygons(List<Point3D> vertices1, List<Point3D> vertices2) Returns the angle between two polygons formed each of them by the corresponding list of provided vertices and assuming that all vertices of each polygon lie on a given plane.static doublePolygon3D.getAngleBetweenPolygons(List<Point3D> vertices1, List<Point3D> vertices2, double threshold) Returns the angle between two polygons formed each of them by the corresponding list of provided vertices and assuming that all vertices of each polygon lie on a given plane.static doubleTriangle3D.getAngleBetweenTriangles(Triangle3D triangle1, Triangle3D triangle2) Returns the angle formed by the two provided triangles, assuming that each triangle forms a plane.Polygon3D.getClosestPoint(Point3D point) Returns the closest point to provided point that is locus of this polygon (i.e. lies on a border of this polygon).double[]Polygon3D.getOrientation()Returns the average orientation of provided 3D polygon as an array containing the vector coordinates of the orientation.double[]Polygon3D.getOrientation(double threshold) Returns the average orientation of provided 3D polygon as an array containing the vector coordinates of the orientation.double[]Triangle3D.getOrientation()Returns array containing orientation of this 3D triangle.double[]Triangle3D.getOrientation(double threshold) Returns array containing orientation of this 3D triangle.doublePolygon3D.getShortestDistance(Point3D point) Returns the shortest distance from provided point to a border of this polygon.private voidMetricTransformation2D.internalSetMetricTransformationFromPoints(Point2D inputPoint1, Point2D inputPoint2, Point2D inputPoint3, Point2D outputPoint1, Point2D outputPoint2, Point2D outputPoint3) Estimates this transformation internal parameters by using 3 corresponding original and transformed points.private voidMetricTransformation3D.internalSetMetricTransformationFromPoints(Point3D inputPoint1, Point3D inputPoint2, Point3D inputPoint3, Point3D inputPoint4, Point3D outputPoint1, Point3D outputPoint2, Point3D outputPoint3, Point3D outputPoint4) Estimates this transformation internal parameters by using 4 corresponding original and transformed points.private voidEuclideanTransformation2D.internalSetTransformationFromPoints(Point2D inputPoint1, Point2D inputPoint2, Point2D inputPoint3, Point2D outputPoint1, Point2D outputPoint2, Point2D outputPoint3) Estimates this transformation internal parameters by using 3 corresponding original and transformed points.private voidEuclideanTransformation3D.internalSetTransformationFromPoints(Point3D inputPoint1, Point3D inputPoint2, Point3D inputPoint3, Point3D inputPoint4, Point3D outputPoint1, Point3D outputPoint2, Point3D outputPoint3, Point3D outputPoint4) Estimates this transformation internal parameters by using 4 corresponding original and transformed points.static booleanVanGoghTriangulator3D.isEar(Triangle3D triangle, List<Point3D> polygonVertices) Determines if provided triangle can be considered as an ear of the remaining polygon formed by provided vertices.static booleanVanGoghTriangulator3D.isPolygonOrientationReversed(List<Point3D> vertices1, List<Point3D> vertices2) Given the list of vertices of two polygons, determines if polygons have reversed orientation, or in other words, it the angle between the orientation of both polygons is larger than DEFAULT_ORIENTATION_THRESHOLD (i.e. 90 degrees or pi / 2 radians).static booleanVanGoghTriangulator3D.isPolygonOrientationReversed(List<Point3D> vertices1, List<Point3D> vertices2, double threshold) Given the list of vertices of two polygons, determines if polygons have reversed orientation, or in other words, it the angle between the orientation of both polygons is larger than provided threshold.voidPolygon3D.orientation(double[] result) Computes the average orientation of provided 3D polygon as an array containing the vector coordinates of the orientation.voidPolygon3D.orientation(double[] result, double threshold) Computes the average orientation of this polygon as an array containing the vector coordinates of the orientation.static double[]Polygon3D.orientation(Polygon3D polygon) Returns the average orientation of provided 3D polygon as an array containing the vector coordinates of the orientation.static double[]Polygon3D.orientation(Polygon3D polygon, double threshold) Returns the average orientation of provided 3D polygon as an array containing the vector coordinates of the orientation.static voidPolygon3D.orientation(Polygon3D polygon, double[] result) Computes the average orientation of provided 3D polygon as an array containing the vector coordinates of the orientation.static voidPolygon3D.orientation(Polygon3D polygon, double[] result, double threshold) Computes the average orientation of provided 3D polygon as an array containing the vector coordinates of the orientation.static double[]Polygon3D.orientation(List<Point3D> vertices) Returns the average orientation of a 3D polygon as an array containing the vector coordinates of the orientation.static double[]Polygon3D.orientation(List<Point3D> vertices, double threshold) Returns the average orientation of a 3D polygon as an array containing the vector coordinates of the orientation.static voidPolygon3D.orientation(List<Point3D> vertices, double[] result) Computes the average orientation of a 3D polygon as an array containing the vector coordinates of the orientation.static voidPolygon3D.orientation(List<Point3D> vertices, double[] result, double threshold) Computes the average orientation of a 3D polygon as an array containing the vector coordinates of the orientation.voidTriangle3D.orientation(double[] result) Computes orientation of this 3D triangle and stores the result in provided array.voidTriangle3D.orientation(double[] result, double threshold) Computes orientation of this 3D triangle and stores the result in provided array.static double[]Triangle3D.orientation(Point3D vertex1, Point3D vertex2, Point3D vertex3) Returns orientation of 3D triangle formed by provided vertices.static double[]Triangle3D.orientation(Point3D vertex1, Point3D vertex2, Point3D vertex3, double threshold) Returns orientation of 3D triangle formed by provided vertices.static voidTriangle3D.orientation(Point3D vertex1, Point3D vertex2, Point3D vertex3, double[] result) Computes orientation of 3D triangle formed by provided vertices and stores the result in provided array.static voidTriangle3D.orientation(Point3D vertex1, Point3D vertex2, Point3D vertex3, double[] result, double threshold) Computes orientation of 3D triangle formed by provided vertices and stores the result in provided array.static double[]Triangle3D.orientation(Triangle3D triangle) Returns orientation of provided 3D triangle.static double[]Triangle3D.orientation(Triangle3D triangle, double threshold) Returns orientation of provided 3D triangle.static voidTriangle3D.orientation(Triangle3D triangle, double[] result) Computes orientation of provided 3D triangle and stores the result in provided array.static voidTriangle3D.orientation(Triangle3D triangle, double[] result, double threshold) Computes orientation of provided 3D triangle and stores the result in provided array.final voidLine2D.setParametersFromPairOfPoints(Point2D pointA, Point2D pointB, boolean noThrow) Sets parameters of this line from a pair of 2D points.final voidConic.setParametersFromPoints(Point2D point1, Point2D point2, Point2D point3, Point2D point4, Point2D point5) Sets parameters of this conic so that provided points lie within it (are locus).final voidQuadric.setParametersFromPoints(Point3D point1, Point3D point2, Point3D point3, Point3D point4, Point3D point5, Point3D point6, Point3D point7, Point3D point8, Point3D point9) Sets parameters of this quadric so that provided points lie within it (are locus).final voidLine3D.setPlanesFromPoints(Point3D point1, Point3D point2) Sets planes of this 3D line so that it passes through provided points.final voidAffineTransformation2D.setTransformationFromPoints(Point2D inputPoint1, Point2D inputPoint2, Point2D inputPoint3, Point2D outputPoint1, Point2D outputPoint2, Point2D outputPoint3) Estimates this transformation internal parameters by using 3 corresponding original and transformed points.final voidAffineTransformation3D.setTransformationFromPoints(Point3D inputPoint1, Point3D inputPoint2, Point3D inputPoint3, Point3D inputPoint4, Point3D outputPoint1, Point3D outputPoint2, Point3D outputPoint3, Point3D outputPoint4) Estimates this transformation internal parameters by using 4 corresponding original and transformed points.voidEuclideanTransformation2D.setTransformationFromPoints(Point2D inputPoint1, Point2D inputPoint2, Point2D inputPoint3, Point2D outputPoint1, Point2D outputPoint2, Point2D outputPoint3) Estimates this transformation internal parameters by using 3 corresponding original and transformed points.voidEuclideanTransformation3D.setTransformationFromPoints(Point3D inputPoint1, Point3D inputPoint2, Point3D inputPoint3, Point3D inputPoint4, Point3D outputPoint1, Point3D outputPoint2, Point3D outputPoint3, Point3D outputPoint4) Estimates this transformation internal parameters by using 4 corresponding original and transformed points.voidMetricTransformation2D.setTransformationFromPoints(Point2D inputPoint1, Point2D inputPoint2, Point2D inputPoint3, Point2D outputPoint1, Point2D outputPoint2, Point2D outputPoint3) Estimates this transformation internal parameters by using 3 corresponding original and transformed points.voidMetricTransformation3D.setTransformationFromPoints(Point3D inputPoint1, Point3D inputPoint2, Point3D inputPoint3, Point3D inputPoint4, Point3D outputPoint1, Point3D outputPoint2, Point3D outputPoint3, Point3D outputPoint4) Estimates this transformation internal parameters by using 4 corresponding original and transformed points.final voidProjectiveTransformation2D.setTransformationFromPoints(Point2D inputPoint1, Point2D inputPoint2, Point2D inputPoint3, Point2D inputPoint4, Point2D outputPoint1, Point2D outputPoint2, Point2D outputPoint3, Point2D outputPoint4) Estimates this transformation internal matrix by providing 4 corresponding original and transformed points.final voidProjectiveTransformation3D.setTransformationFromPoints(Point3D inputPoint1, Point3D inputPoint2, Point3D inputPoint3, Point3D inputPoint4, Point3D inputPoint5, Point3D outputPoint1, Point3D outputPoint2, Point3D outputPoint3, Point3D outputPoint4, Point3D outputPoint5) Estimates this transformation internal matrix by providing 5 corresponding original and transformed points.Constructors in com.irurueta.geometry that throw CoincidentPointsExceptionModifierConstructorDescriptionAffineTransformation2D(Point2D inputPoint1, Point2D inputPoint2, Point2D inputPoint3, Point2D outputPoint1, Point2D outputPoint2, Point2D outputPoint3) Creates transformation by estimating its internal values using provided 3 corresponding original and transformed points.AffineTransformation3D(Point3D inputPoint1, Point3D inputPoint2, Point3D inputPoint3, Point3D inputPoint4, Point3D outputPoint1, Point3D outputPoint2, Point3D outputPoint3, Point3D outputPoint4) Creates transformation by estimating its internal values using provided 4 corresponding original and transformed points.Creates conic where provided points are contained (are locus).EuclideanTransformation2D(Point2D inputPoint1, Point2D inputPoint2, Point2D inputPoint3, Point2D outputPoint1, Point2D outputPoint2, Point2D outputPoint3) Creates transformation by estimating its internal values using provided 3 corresponding original and transformed points.EuclideanTransformation3D(Point3D inputPoint1, Point3D inputPoint2, Point3D inputPoint3, Point3D inputPoint4, Point3D outputPoint1, Point3D outputPoint2, Point3D outputPoint3, Point3D outputPoint4) Creates transformation by estimating its internal values using provided 4 corresponding original and transformed points.Constructor.Constructor.MetricTransformation2D(Point2D inputPoint1, Point2D inputPoint2, Point2D inputPoint3, Point2D outputPoint1, Point2D outputPoint2, Point2D outputPoint3) Creates transformation by estimating its internal values using provided 3 corresponding original and transformed points.MetricTransformation3D(Point3D inputPoint1, Point3D inputPoint2, Point3D inputPoint3, Point3D inputPoint4, Point3D outputPoint1, Point3D outputPoint2, Point3D outputPoint3, Point3D outputPoint4) Creates transformation by estimating its internal values using provided 4 corresponding original and transformed points.ProjectiveTransformation2D(Point2D inputPoint1, Point2D inputPoint2, Point2D inputPoint3, Point2D inputPoint4, Point2D outputPoint1, Point2D outputPoint2, Point2D outputPoint3, Point2D outputPoint4) Creates transformation by estimating its internal matrix by providing 4 corresponding original and transformed points.ProjectiveTransformation3D(Point3D inputPoint1, Point3D inputPoint2, Point3D inputPoint3, Point3D inputPoint4, Point3D inputPoint5, Point3D outputPoint1, Point3D outputPoint2, Point3D outputPoint3, Point3D outputPoint4, Point3D outputPoint5) Creates transformation by estimating its internal matrix by providing 5 corresponding original and transformed points.Quadric(Point3D point1, Point3D point2, Point3D point3, Point3D point4, Point3D point5, Point3D point6, Point3D point7, Point3D point8, Point3D point9) Creates quadric where provided points are contained (are locus). -
Uses of CoincidentPointsException in com.irurueta.geometry.estimators
Methods in com.irurueta.geometry.estimators that throw CoincidentPointsExceptionModifier and TypeMethodDescriptionEPnPPointCorrespondencePinholeCameraEstimator.computePossibleSolutionWithPoseAndReprojectionError(List<Point3D> controlCameraPoints) Computes a possible solution with camera, transformation, re-projection error and control points in camera coordinates.UPnPPointCorrespondencePinholeCameraEstimator.computePossibleSolutionWithPoseAndReprojectionError(List<Point3D> controlCameraPoints, double focalLength) Computes a possible solution with camera, transformation, re-projection error and control points in camera coordinates.EuclideanTransformation2DEstimator.estimate()Estimates an Euclidean 2D transformation using the list of matched input and output 2D points.voidEuclideanTransformation2DEstimator.estimate(EuclideanTransformation2D result) Estimates an Euclidean 2D transformation using the list of matched input and output 2D points.EuclideanTransformation3DEstimator.estimate()Estimates an Euclidean 3D transformation using the list of matched input and output 3D points.voidEuclideanTransformation3DEstimator.estimate(EuclideanTransformation3D result) Estimates an Euclidean 3D transformation using the list of matched input and output 3D points.MetricTransformation2DEstimator.estimate()Estimates a metric 2D transformation using the list of matched input and output 2D points.voidMetricTransformation2DEstimator.estimate(MetricTransformation2D result) Estimates a metric 2D transformation using the list of matched input and output 2D points.MetricTransformation3DEstimator.estimate()Estimates a metric 3D transformation using the list of matched input and output 3D points.voidMetricTransformation3DEstimator.estimate(MetricTransformation3D result) Estimates a metric 3D transformation using the list of matched input and output 3D points.private voidEPnPPointCorrespondencePinholeCameraEstimator.generalSolution1()Tests solution 1 for general point configuration.private voidEPnPPointCorrespondencePinholeCameraEstimator.generalSolution2()Tests solution 2 for general point configuration.private voidEPnPPointCorrespondencePinholeCameraEstimator.generalSolution3()Tests solution 3 for general point configuration.private MetricTransformation3DEPnPPointCorrespondencePinholeCameraEstimator.worldToCameraTransformationMetric(List<Point3D> controlCameraPoints) Estimates world to camera transformation using estimated control points in world and camera coordinates as a metric transformation.private MetricTransformation3DUPnPPointCorrespondencePinholeCameraEstimator.worldToCameraTransformationMetric(List<Point3D> controlCameraPoints) Estimates world to camera transformation using estimated control points in world and camera coordinates as a metric transformation.