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 ofTri
s.java.util.List<Tri>
PolygonTriangulator. getTriangles()
Gets the triangulation as a list ofTri
s. -
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 Tri
Tri. create(Coordinate[] pts)
Creates a triangle from an array with three vertex coordinates.static Tri
Tri. create(Coordinate p0, Coordinate p1, Coordinate p2)
Creates a triangle with the given vertices.Tri
Tri. getAdjacent(int index)
Gets the triangle adjacent to an edge.Tri
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 Tri Modifier and Type Method Description int
Tri. getIndex(Tri tri)
Gets the edge index which a triangle is adjacent to (if any), based on the adjacent triangle link.boolean
Tri. isAdjacent(Tri tri)
Tests if a triangle is adjacent to some edge of this triangle.void
Tri. setAdjacent(Coordinate pt, Tri tri)
Sets the triangle adjacent to the edge originating at a given vertex.void
Tri. setAdjacent(Tri tri0, Tri tri1, Tri tri2)
Sets the adjacent triangles.void
Tri. 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 double
Tri. area(java.util.List<? extends Tri> triList)
Computes the area of a set of Tris.static void
TriangulationBuilder. build(java.util.List<? extends Tri> triList)
Computes the triangulation of a set ofTri
s.int
Tri. degree(int index, java.util.List<? extends Tri> triList)
Computes the degree of a Tri vertex, which is the number of tris containing it.void
Tri. remove(java.util.List<? extends Tri> triList)
Removes this tri from the triangulation containing it.static Geometry
Tri. toGeometry(java.util.Collection<Tri> tris, GeometryFactory geomFact)
Creates aGeometryCollection
ofPolygon
s representing the triangles in a list.static void
Tri. validate(java.util.List<Tri> triList)
Validates a list of Tris.
-