| |
|
| java.lang.Object org.geotools.referencing.operation.builder.Polygon org.geotools.referencing.operation.builder.TINTriangle
TINTriangle | class TINTriangle extends Polygon (Code) | | A triangle, with special methods for use with RubberSheetTransform.
since: 2.4 version: $Id: TINTriangle.java 28966 2008-01-27 17:36:43Z acuster $ author: Jan Jezek |
Field Summary | |
public DirectPosition | p0 The first vertex. | public DirectPosition | p1 The second vertex. | public DirectPosition | p2 The third vertex. |
Constructor Summary | |
protected | TINTriangle(DirectPosition p0, DirectPosition p1, DirectPosition p2) Creates a Triangle. |
p0 | public DirectPosition p0(Code) | | The first vertex.
|
p1 | public DirectPosition p1(Code) | | The second vertex.
|
p2 | public DirectPosition p2(Code) | | The third vertex.
|
TINTriangle | protected TINTriangle(DirectPosition p0, DirectPosition p1, DirectPosition p2)(Code) | | Creates a Triangle.
Parameters: p0 - one vertex Parameters: p1 - another vertex Parameters: p2 - another vertex |
getAdjacentTriangles | public List getAdjacentTriangles()(Code) | | Returns adjacent triangles
adjacent triangles |
getCircumCicle | protected Circle getCircumCicle()(Code) | | Returns the CircumCicle of the this TINTriangle.
Returns the CircumCicle of the this TINTriangle |
removeAdjacent | protected void removeAdjacent(TINTriangle remAdjacent)(Code) | | Removes adjacent triangles
Parameters: remAdjacent - |
subTriangles | public List subTriangles(DirectPosition newVertex)(Code) | | Returns the three triangles that are created by splitting this
TINTriangle at a newVertex.
Parameters: newVertex - the split point (must be inside triangle). three Triangles created by splitting this TINTriangle at anewVertex. |
tryToAddAdjacent | protected int tryToAddAdjacent(List adjacents)(Code) | | Tries to add
adjacent triangles. Before adding they are checked
whether they are really adjacent or not and whether they are not already known.
Parameters: adjacents - triangles to be added number of successfully added triangles |
|
|
|