|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bbn.openmap.omGraphics.geom.BasicGeometry com.bbn.openmap.omGraphics.OMGraphicAdapter com.bbn.openmap.geo.OMGeo com.bbn.openmap.geo.OMGeo.Line
public static class OMGeo.Line
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.bbn.openmap.geo.OMGeo |
---|
OMGeo.Line, OMGeo.Polygon, OMGeo.Polyline, OMGeo.Pt |
Nested classes/interfaces inherited from interface com.bbn.openmap.geo.GeoSegment |
---|
GeoSegment.Impl |
Field Summary |
---|
Fields inherited from class com.bbn.openmap.geo.OMGeo |
---|
extent, id |
Fields inherited from class com.bbn.openmap.omGraphics.OMGraphicAdapter |
---|
declutterType, displayPaint, edgeMatchesFill, fillPaint, hasLabel, linePaint, matted, mattingPaint, renderType, selected, selectPaint, showEditablePalette, stroke, textureMask |
Fields inherited from class com.bbn.openmap.omGraphics.geom.BasicGeometry |
---|
attributes, lineType, needToRegenerate, shape, visible |
Constructor Summary | |
---|---|
OMGeo.Line(Geo[] gs)
|
|
OMGeo.Line(GeoSegment gs)
|
Method Summary | |
---|---|
boolean |
generate(Projection proj)
Prepare the graphic for rendering. |
Geo[] |
getGeoArray()
|
Geo[] |
getSeg()
|
double[] |
getSegArray()
|
Methods inherited from class com.bbn.openmap.geo.OMGeo |
---|
getBoundingCircle, getExtent, getID, setExtent, setID |
Methods inherited from class com.bbn.openmap.omGraphics.geom.BasicGeometry |
---|
_distance, appendShapeEdge, appendShapeEdge, appendShapeEdge, appendShapeEdge, clearAttributes, contains, createAttributeMap, createBoxShape, createShape, createShape, describeShapeDetail, describeShapeDetail, distanceToEdge, distanceToEdge, draw, draw, fill, fill, getAppObject, getAttribute, getAttributes, getDescription, getLineType, getNeedToRegenerate, getShape, isRenderable, isRenderable, isVisible, putAttribute, removeAttribute, setAppObject, setAttributes, setLineType, setNeedToRegenerate, setShape, setVisible |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.bbn.openmap.geo.GeoExtent |
---|
getBoundingCircle, getID |
Methods inherited from interface com.bbn.openmap.omGraphics.OMGeometry |
---|
clearAttributes, contains, distanceToEdge, draw, draw, fill, fill, getAppObject, getAttribute, getAttributes, getDescription, getLineType, getNeedToRegenerate, getShape, isRenderable, isRenderable, isVisible, putAttribute, removeAttribute, setAppObject, setAttributes, setLineType, setNeedToRegenerate, setShape, setVisible |
Constructor Detail |
---|
public OMGeo.Line(GeoSegment gs)
public OMGeo.Line(Geo[] gs)
Method Detail |
---|
public Geo[] getGeoArray()
public boolean generate(Projection proj)
OMGraphicAdapter
render()
! If a vector graphic has lat-lon components, then
we project these vertices into x-y space. For raster graphics we prepare
in a different fashion.
If the generate is unsuccessful, it's usually because of some oversight,
(for instance if proj
is null), and if debugging is enabled,
a message may be output to the controlling terminal.
generate
in interface OMGeometry
generate
in class OMGraphicAdapter
proj
- Projection
OMGraphicAdapter.regenerate(com.bbn.openmap.proj.Projection)
public Geo[] getSeg()
getSeg
in interface GeoSegment
public double[] getSegArray()
getSegArray
in interface GeoSegment
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |