Uses of Class
org.locationtech.jts.triangulate.tri.Tri
-
Packages that use Tri Package Description org.locationtech.jts.triangulate.polygon Classes for triangulating polygons.org.locationtech.jts.triangulate.tri 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 Tri Modifier and Type Method Description java.util.List<Tri>ConstrainedDelaunayTriangulator. getTriangles()Gets the triangulation as a list ofTris.java.util.List<Tri>PolygonTriangulator. getTriangles()Gets the triangulation as a list ofTris. -
Uses of Tri in org.locationtech.jts.triangulate.tri
Methods in org.locationtech.jts.triangulate.tri that return Tri Modifier and Type Method Description static 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.TriTri. getAdjacent(int index)Gets the triangle adjacent to an edge.TriTri. split(Coordinate p)Spits a triangle by a point located inside the triangle.Methods in org.locationtech.jts.triangulate.tri with parameters of type Tri Modifier and Type Method Description intTri. getIndex(Tri tri)Gets 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.voidTri. setTri(int edgeIndex, Tri tri)Sets the triangle adjacent to an edge.Method parameters in org.locationtech.jts.triangulate.tri with type arguments of type Tri Modifier and Type Method Description static doubleTri. area(java.util.List<? extends Tri> triList)Computes the area of a set of Tris.static voidTriangulationBuilder. build(java.util.List<? extends Tri> triList)Computes the triangulation of a set ofTris.intTri. degree(int index, java.util.List<? extends Tri> triList)Computes the degree of a Tri vertex, which is the number of tris containing it.voidTri. remove(java.util.List<? extends Tri> triList)Removes this tri from the triangulation containing it.static GeometryTri. toGeometry(java.util.Collection<Tri> tris, GeometryFactory geomFact)Creates aGeometryCollectionofPolygons representing the triangles in a list.static voidTri. validate(java.util.List<Tri> triList)Validates a list of Tris.
-