|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uchicago.src.sim.gis.LinePoint
This is a point that defines part of a line string adapter. It doesn't contain many of the DefaultNode methods, because each of these has exactly one toNode and one From node. They are represented as com.vividsolutions.jts.geom.Points, however, so all of the jts algorithms will work on the included geometry.
| Constructor Summary | |
LinePoint(com.vividsolutions.jts.geom.Coordinate c)
|
|
LinePoint(com.vividsolutions.jts.geom.Geometry g)
|
|
| Method Summary | |
LinePoint |
getFromPoint()
return the point immediately followin this one. |
float |
getStrength()
strength is equivelent to distance |
LinePoint |
getToPoint()
return the point immediately preceding this one. |
double |
getX()
|
double |
getY()
|
void |
setFromPoint(LinePoint from)
set the point immediately preceding this one. |
void |
setStrength(float strength)
strength is equivelent to distance |
void |
setToPoint(LinePoint to)
set the point immediately following this one. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LinePoint(com.vividsolutions.jts.geom.Geometry g)
public LinePoint(com.vividsolutions.jts.geom.Coordinate c)
| Method Detail |
public float getStrength()
public void setStrength(float strength)
public double getX()
public double getY()
public LinePoint getToPoint()
public LinePoint getFromPoint()
public void setToPoint(LinePoint to)
to - public void setFromPoint(LinePoint from)
from -
|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||