|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.aims.AimsPath
Implementation of an ArcIMS polygline path object.
| Constructor Summary | |
AimsPath()
Creates a path point object with no arguments. |
|
AimsPath(AimsPoints pts)
Creates a new path object with an AimsPoints object. |
|
| Method Summary | |
void |
addPoint(AimsPoint pt)
Adds a point to the path. |
void |
densify(double distance)
Densifies the points in the shape by a distance. |
void |
generalize(double distance)
Generalizes the points in the shape by a distance. |
AimsPoint |
getClosestVertex(AimsPoint pt)
Gets the closest vertex in the AimsPath to the specified point. |
AimsEnvelope |
getExtent()
Returns the extent of the path, or null if the path has no points. |
double |
getLength()
Gets the length of the path. |
AimsPoints |
getPoints()
Gets the points of the path object. |
void |
offsetBy(AimsPoint offset)
Offsets the points in the path by the x and y in a point. |
void |
setPoints(AimsPoints points)
Sets the points of the path object. |
java.lang.String |
toAxlString()
Returns the AXL string to refresh this object. |
java.lang.String |
toAxlString(AimsEnvironment env)
Returns the AXL string to refresh this object. |
com.vividsolutions.jts.geom.Geometry |
toJtsLineString()
|
java.lang.String |
toString()
Returns a text representation of of this object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AimsPath()
public AimsPath(AimsPoints pts)
| Method Detail |
public double getLength()
public AimsPoint getClosestVertex(AimsPoint pt)
pt - The point to compare the vertexes to.
public void addPoint(AimsPoint pt)
pt - The point to add to the path.public AimsPoints getPoints()
public void densify(double distance)
distance - The densify distance.public void generalize(double distance)
distance - The generalize distance.public void offsetBy(AimsPoint offset)
offset - An AimsPoint object containing the offset.public void setPoints(AimsPoints points)
points - An AimsPoints object containing the path points.public AimsEnvelope getExtent()
public java.lang.String toString()
public java.lang.String toAxlString()
public java.lang.String toAxlString(AimsEnvironment env)
public com.vividsolutions.jts.geom.Geometry toJtsLineString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||