|
JTS Topology Suite - v 1.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.vividsolutions.jts.triangulate.quadedge.Vertex
com.vividsolutions.jts.triangulate.ConstraintVertex
public class ConstraintVertex
A vertex in a Constrained Delaunay Triangulation. The vertex may or may not lie on a constraint. If it does it may carry extra information about the original constraint.
| Field Summary |
|---|
| Fields inherited from class com.vividsolutions.jts.triangulate.quadedge.Vertex |
|---|
BEHIND, BETWEEN, BEYOND, DESTINATION, LEFT, ORIGIN, RIGHT |
| Constructor Summary | |
|---|---|
ConstraintVertex(Coordinate p)
Creates a new constraint vertex |
|
| Method Summary | |
|---|---|
java.lang.Object |
getConstraint()
Gets the external constraint object |
boolean |
isOnConstraint()
Tests whether this vertex lies on a constraint. |
protected void |
merge(ConstraintVertex other)
Merges the constraint data in the vertex other into this vertex. |
void |
setConstraint(java.lang.Object constraint)
Sets the external constraint information |
void |
setOnConstraint(boolean isOnConstraint)
Sets whether this vertex lies on a constraint. |
| Methods inherited from class com.vividsolutions.jts.triangulate.quadedge.Vertex |
|---|
circleCenter, circumRadiusRatio, classify, equals, equals, getCoordinate, getX, getY, getZ, interpolateZ, interpolateZ, interpolateZValue, isCCW, isInCircle, leftOf, midPoint, rightOf, setZ, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConstraintVertex(Coordinate p)
p - the location of the vertex| Method Detail |
|---|
public void setOnConstraint(boolean isOnConstraint)
isOnConstraint - true if this vertex lies on a constraintpublic boolean isOnConstraint()
public void setConstraint(java.lang.Object constraint)
constraint - an object which carries information about the constraint this vertex lies onpublic java.lang.Object getConstraint()
protected void merge(ConstraintVertex other)
other - the constraint vertex to merge
|
JTS Topology Suite - v 1.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||