public class StreamPolyLine
extends hec.map.WorldLine3d
implements rma.lang.Modifiable
| Modifier and Type | Field and Description |
|---|---|
boolean |
_modified |
| Constructor and Description |
|---|
StreamPolyLine() |
| Modifier and Type | Method and Description |
|---|---|
StreamPolyLine |
getFirstSegment()
return the first line segment in the pts vector.
|
StreamPolyLine |
getLastSegment()
return the last line segment in the pts vector.
|
StreamPolyLine |
getLineSegment(double c0,
double c1) |
boolean |
insertPt(hec.map.WorldPt wpt,
double tol) |
boolean |
isModified() |
hec.map.WorldPt |
newPt() |
boolean |
removePt(hec.map.WorldPt wpt,
double tol) |
void |
setLinePoint(double coord,
hec.map.WorldPt wpt) |
void |
setModified(boolean b) |
void |
validate() |
add, clone, createOffsetLine, equals, equals, getBounds, getCenterPt, getCoordAtLocation, getFieldObject, getFirstPt, getLastPt, getLength, getLocalArrays, getLocalArrays2d, getLocalRegionArrays, getLocalRegionArrays, getLocalRegionArrays, getLocationByCoord, getNearestLocation, getNearestLocationSigned, getPtIndexBeforeCoord, getPtIndexNearCoord, getSlopeAtCoord, intersects, intersects, invalidate, isEmpty, nearPt, parseString, removePtsAfter, reverseDirection, setFieldObject, toStringpublic hec.map.WorldPt newPt()
newPt in class hec.map.WorldLine3dpublic void validate()
public StreamPolyLine getLineSegment(double c0, double c1)
public void setLinePoint(double coord,
hec.map.WorldPt wpt)
setLinePoint in class hec.map.WorldLinepublic boolean removePt(hec.map.WorldPt wpt,
double tol)
removePt in class hec.map.WorldLinepublic boolean insertPt(hec.map.WorldPt wpt,
double tol)
insertPt in class hec.map.WorldLinepublic void setModified(boolean b)
setModified in interface rma.lang.Modifiablepublic boolean isModified()
isModified in interface rma.lang.Modifiablepublic StreamPolyLine getFirstSegment()
public StreamPolyLine getLastSegment()