Uses of Class
org.locationtech.jts.triangulate.tri.Tri
Packages that use Tri
Package
Description
Classes for triangulating polygons.
Classes for representing a planar triangulation as a set of linked triangles.
-
Uses of Tri in org.locationtech.jts.triangulate.polygon
Methods in org.locationtech.jts.triangulate.polygon that return types with arguments of type TriModifier and TypeMethodDescriptionConstrainedDelaunayTriangulator.getTriangles()Gets the triangulation as a list ofTris.PolygonTriangulator.getTriangles()Gets the triangulation as a list ofTris. -
Uses of Tri in org.locationtech.jts.triangulate.tri
Fields in org.locationtech.jts.triangulate.tri declared as TriModifier and TypeFieldDescriptionprotected TriTri.tri0triN is the adjacent triangle across the edge pN - pNN. pNN is the next vertex CW from pN.protected TriTri.tri1protected TriTri.tri2Methods in org.locationtech.jts.triangulate.tri that return TriModifier and TypeMethodDescriptionstatic TriTri.create(Coordinate[] pts) Creates a triangle from an array with three vertex coordinates.static TriTri.create(Coordinate p0, Coordinate p1, Coordinate p2) Creates a triangle with the given vertices.Tri.getAdjacent(int index) Gets the triangle adjacent to an edge.Tri.split(Coordinate p) Spits a triangle by a point located inside the triangle.Methods in org.locationtech.jts.triangulate.tri with parameters of type TriModifier and TypeMethodDescriptionintGets the edge index which a triangle is adjacent to (if any), based on the adjacent triangle link.booleanTri.isAdjacent(Tri tri) Tests if a triangle is adjacent to some edge of this triangle.voidTri.setAdjacent(Coordinate pt, Tri tri) Sets the triangle adjacent to the edge originating at a given vertex.voidTri.setAdjacent(Tri tri0, Tri tri1, Tri tri2) Sets the adjacent triangles.voidSets the triangle adjacent to an edge.Method parameters in org.locationtech.jts.triangulate.tri with type arguments of type TriModifier and TypeMethodDescriptionstatic doubleComputes the area of a set of Tris.static voidComputes the triangulation of a set ofTris.intComputes the degree of a Tri vertex, which is the number of tris containing it.voidRemoves this tri from the triangulation containing it.static GeometryTri.toGeometry(Collection<Tri> tris, GeometryFactory geomFact) Creates aofinvalid reference
GeometryCollectionPolygons representing the triangles in a list.static voidValidates a list of Tris.