|
||||||||||
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.Pt
public static class OMGeo.Pt
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.GeoPoint |
---|
GeoPoint.Impl |
Field Summary | |
---|---|
protected boolean |
isOval
|
protected int |
radius
|
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.Pt(double lat,
double lon,
boolean isDegrees)
|
|
OMGeo.Pt(Geo g)
|
|
OMGeo.Pt(GeoPoint gp)
|
Method Summary | |
---|---|
boolean |
generate(Projection proj)
Prepare the graphic for rendering. |
Geo |
getGeo()
|
Geo |
getPoint()
return the current point as a Geo object |
int |
getRadius()
|
boolean |
isOval()
|
void |
setOval(boolean isOval)
|
void |
setRadius(int radius)
|
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 |
Field Detail |
---|
protected int radius
protected boolean isOval
Constructor Detail |
---|
public OMGeo.Pt(GeoPoint gp)
public OMGeo.Pt(Geo g)
public OMGeo.Pt(double lat, double lon, boolean isDegrees)
Method Detail |
---|
public Geo getGeo()
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 boolean isOval()
public void setOval(boolean isOval)
public int getRadius()
public void setRadius(int radius)
public Geo getPoint()
GeoPoint
getPoint
in interface GeoPoint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |