|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectOrthoLine
public class OrthoLine
An ortho-line grid element.
Constructor Summary | |
---|---|
OrthoLine(ReferencedEnvelope gridBounds,
LineOrientation orientation,
double ordinate,
int level)
Creates a new ortho-line element. |
Method Summary | |
---|---|
ReferencedEnvelope |
getBounds()
Gets the bounds of this grid element. |
int |
getLevel()
Gets the level (precedence) associated with this line. |
LineOrientation |
getOrientation()
Gets the orientation of this line. |
Coordinate[] |
getVertices()
Gets the vertices of this grid element. |
Geometry |
toDenseGeometry(double maxSpacing)
Creates a new, densified Geometry from this grid element. |
Geometry |
toGeometry()
Creates a new Geometry from this grid element. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrthoLine(ReferencedEnvelope gridBounds, LineOrientation orientation, double ordinate, int level)
gridBounds
- bounds of the area containing this lineorientation
- line orientationordinate
- position of the linelevel
- integer level associated with this linevalue
- Method Detail |
---|
public ReferencedEnvelope getBounds()
getBounds
in interface GridElement
public Coordinate[] getVertices()
getVertices
in interface GridElement
public LineOrientation getOrientation()
public int getLevel()
public Geometry toGeometry()
GridElement
Geometry
from this grid element.
toGeometry
in interface GridElement
Geometry
public Geometry toDenseGeometry(double maxSpacing)
GridElement
Geometry
from this grid element.
toDenseGeometry
in interface GridElement
maxSpacing
- the maximum distance between adjacent vertices
Geometry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |