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 ofTri
s.PolygonTriangulator.getTriangles()
Gets the triangulation as a list ofTri
s. -
Uses of Tri in org.locationtech.jts.triangulate.tri
Fields in org.locationtech.jts.triangulate.tri declared as TriModifier and TypeFieldDescriptionprotected Tri
Tri.tri0
triN is the adjacent triangle across the edge pN - pNN.protected Tri
Tri.tri1
protected Tri
Tri.tri2
Methods in org.locationtech.jts.triangulate.tri that return TriModifier and TypeMethodDescriptionstatic 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.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 TypeMethodDescriptionint
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
Sets the triangle adjacent to an edge.Method parameters in org.locationtech.jts.triangulate.tri with type arguments of type TriModifier and TypeMethodDescriptionstatic double
Computes the area of a set of Tris.static void
Computes the triangulation of a set ofTri
s.int
Computes the degree of a Tri vertex, which is the number of tris containing it.void
Removes this tri from the triangulation containing it.static Geometry
Tri.toGeometry
(Collection<Tri> tris, GeometryFactory geomFact) Creates ainvalid reference
GeometryCollection
Polygon
s representing the triangles in a list.static void
Validates a list of Tris.