Package org.ka2ddo.yaac.osm
Class OsmObstructionFinder.AmenityAttr
java.lang.Object
org.ka2ddo.yaac.osm.OsmObstructionFinder.AmenityAttr
- Enclosing class:
- OsmObstructionFinder
Structure containing parameters for interpreting OSM Node objects that could be
RF obstructions.
- Author:
- Andrew Pavlin, KA2DDO
-
Field Summary
Modifier and TypeFieldDescriptionfinal ColorType
Code enum for the color to draw the obstruction.final Length
Height of an obstruction.final int
Radius of a Node obstruction in millionths of degrees (if non-negative) or negated scaling factor from height in meters to radius in millionths of degrees if negative. -
Method Summary
Modifier and TypeMethodDescriptionint
getRadius
(float height) Get radius of this target based on its height.
-
Field Details
-
color
Code enum for the color to draw the obstruction. -
defHeight
Height of an obstruction. -
defRadius
public final int defRadiusRadius of a Node obstruction in millionths of degrees (if non-negative) or negated scaling factor from height in meters to radius in millionths of degrees if negative.
-
-
Method Details
-
getRadius
public int getRadius(float height) Get radius of this target based on its height.- Parameters:
height
- height in fractional meters- Returns:
- radius in millionths of degrees (approximately tenths of a meter)
-