Uses of Class
com.irurueta.geometry.Triangle3D
Packages that use Triangle3D
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.
-
Uses of Triangle3D in com.irurueta.geometry
Fields in com.irurueta.geometry with type parameters of type Triangle3DModifier and TypeFieldDescriptionprivate List<Triangle3D> Polygon3D.trianglesList containing triangles found after triangulating this polygon.Methods in com.irurueta.geometry that return Triangle3DModifier and TypeMethodDescriptionTransformation3D.transformAndReturnNew(Triangle3D inputTriangle) Transforms provided triangle using this transformation and returns a new one.Methods in com.irurueta.geometry that return types with arguments of type Triangle3DModifier and TypeMethodDescriptionPolygon3D.getTriangles()Returns a list of triangles forming this polygon.private static List<Triangle3D> VanGoghTriangulator3D.internalTriangulate(List<Point3D> verticesCopy, List<int[]> indices, List<Point3D> originalVertices) Internal method that computes the actual triangulation.abstract List<Triangle3D> Triangulator3D.triangulate(Polygon3D polygon) Triangulates provided polygon by dividing it into a set of triangles.abstract List<Triangle3D> Triangulator3D.triangulate(List<Point3D> vertices) Triangulates a polygon formed by provided vertices.abstract List<Triangle3D> Triangulator3D.triangulate(List<Point3D> vertices, List<int[]> indices) Triangulates a polygon formed by provided vertices.VanGoghTriangulator3D.triangulate(Polygon3D polygon) Triangulates provided polygon by dividing it into a set of triangles.VanGoghTriangulator3D.triangulate(List<Point3D> vertices) Triangulates a polygon formed by provided vertices.VanGoghTriangulator3D.triangulate(List<Point3D> vertices, List<int[]> indices) Triangulates a polygon formed by provided vertices.Methods in com.irurueta.geometry with parameters of type Triangle3DModifier and TypeMethodDescriptionstatic doubleTriangle3D.area(Triangle3D triangle) Returns area of provided triangle.static Point3DTriangle3D.center(Triangle3D t) Computes the center of provided triangle.static voidTriangle3D.center(Triangle3D t, Point3D result) Computes the center of provided triangle and stores the result in provided result point.static doubleTriangle3D.getAngleBetweenTriangles(Triangle3D triangle1, Triangle3D triangle2) Returns the angle formed by the two provided triangles, assuming that each triangle forms a plane.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 booleanTriangle3D.isInside(Triangle3D triangle, Point3D point) Indicates whether provided point lies inside provided triangle or not To lie inside point must be on the same plane formed by provided triangle and within triangle boundaries.static booleanTriangle3D.isInside(Triangle3D triangle, Point3D point, double threshold) Indicates whether provided point lies inside provided triangle or not up to a certain threshold.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.static doubleTriangle3D.perimeter(Triangle3D triangle) Returns perimeter of provided triangle.static doubleTriangle3D.shortestDistance(Triangle3D triangle, Point3D point) Computes the shortest distance from a given point to the boundaries of provided triangle, considering its boundaries as lines with a finite length.voidTransformation3D.transform(Triangle3D triangle) Transforms and updates provided input triangle using this transformation.voidTransformation3D.transform(Triangle3D inputTriangle, Triangle3D outputTriangle) Transforms provided input triangle using this transformation and stores the result into provided output triangle instance.Transformation3D.transformAndReturnNew(Triangle3D inputTriangle) Transforms provided triangle using this transformation and returns a new one.