public class Wedge extends Polyline
Polyline.OnAltitudeModeChangedListener, Polyline.OnHeightStyleChangedListener, Polyline.OnLabelsChangedListener, Polyline.OnLabelTextSizeChanged
Shape.OnBasicLineStyleChangedListener, Shape.OnFillColorChangedListener, Shape.OnPointsChangedListener, Shape.OnStrokeColorChangedListener, Shape.OnStrokeWeightChangedListener, Shape.OnStyleChangedListener
MapItem.OnClickableChangedListener, MapItem.OnGroupChangedListener, MapItem.OnHeightChangedListener, MapItem.OnMetadataChangedListener, MapItem.OnTypeChangedListener, MapItem.OnVisibleChangedListener, MapItem.OnZOrderChangedListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG |
_points, DEFAULT_MAX_LABEL_RENDER_RESOLUTION, DEFAULT_MAX_LINE_RENDER_RESOLUTION, DEFAULT_MIN_LABEL_RENDER_RESOLUTION, DEFAULT_MIN_LINE_RENDER_RESOLUTION, HEIGHT_EXTRUDE_CENTER_ALT, HEIGHT_EXTRUDE_DEFAULT, HEIGHT_EXTRUDE_MAX_ALT, HEIGHT_EXTRUDE_MIN_ALT, HEIGHT_EXTRUDE_PER_POINT, HEIGHT_STYLE_NONE, HEIGHT_STYLE_OUTLINE, HEIGHT_STYLE_OUTLINE_SIMPLE, HEIGHT_STYLE_POLYGON, HEIGHT_STYLE_TOP_ONLY, minimumBoundingBox, PARTITION_SIZE, STYLE_CLOSED_MASK, STYLE_OUTLINE_HALO_MASK, STYLE_OUTLINE_STROKE_MASK
BASIC_LINE_STYLE_DASHED, BASIC_LINE_STYLE_DOTTED, BASIC_LINE_STYLE_OUTLINED, BASIC_LINE_STYLE_SOLID, STYLE_FILLED_MASK, STYLE_STROKE_MASK
CLICKABLE_DEFAULT, EDITABLE_DEFAULT, EMPTY_TYPE, HIT_RATIO_DEFAULT, MOVABLE_DEFAULT, VISIBLE_DEFAULT, ZORDER_DEFAULT, ZORDER_HITTEST_COMPARATOR, ZORDER_RENDER_COMPARATOR
metadata
Constructor and Description |
---|
Wedge(long serialId,
MetaDataHolder metadata,
java.lang.String uid) |
Wedge(java.lang.String uid)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getAngle() |
double |
getDistanceMultiplier() |
GeoPoint |
getEndPoint() |
double |
getOffsetAngle() |
GeoPoint |
getSourcePoint() |
Wedge |
setAngle(java.lang.Double angleXprime)
Sets the primary interior angle for the Wedge.
|
Wedge |
setAngle(double angleXprime,
boolean showLabel)
Sets the primary interior angle for the Wedge.
|
Wedge |
setAngle(double angleXprime,
java.lang.String label0,
java.lang.String label1,
java.lang.String label2)
Sets the primary interior angle for the Wedge.
|
Wedge |
setDistanceMultiplier(java.lang.Double multiplier)
The multiplier to place the wedge past the z point.
|
Wedge |
setEndPoint(GeoPoint pointZ)
Sets the end point for the wedge.
|
Wedge |
setOffsetAngle(java.lang.Double angleX)
Sets the offset angle for this Wedge.
|
Wedge |
setSourcePoint(GeoPoint pointX)
Sets the originating point for the wedge.
|
java.lang.String |
toString()
Default string conversion which contains the UID, type, and title
|
addHeightStyle, addOnHeightStyleChangedListener, addOnLabelsChangedListener, addOnLabelTextSizeChangedListener, drawCanvas, getBounds, getCenter, getHeightExtrudeMode, getHeightStyle, getLabels, getLabelTextSize, getLabelTypeface, getLineLabel, getMetaDataPoints, getPerimeterOrLength, getPoints, getPoints, getPoints, getRelativeBounds, getTotalDistance, onHeightStyleChanged, onLabelsChanged, onLabelTextSizeChanged, onMetadataChanged, onPointsChanged, preDrawCanvas, removeHeightStyle, removeOnHeightStyleChangedListener, removeOnLabelsChangedListener, removeOnLabelTextSizeChangedListner, setHeightExtrudeMode, setHeightStyle, setLabels, setLabelTextSize, setLabelTextSize, setLabelTextTypeface, setLineLabel, setMaxLabelRenderResolution, setMaxRenderResolution, setMinLabelRenderResolution, setMinRenderResolution, setPoints, setPoints, setPoints, setPoints
addOnBasicLineStyleChangedListener, addOnFillColorChangedListener, addOnPointsChangedListener, addOnStrokeColorChangedListener, addOnStrokeWeightChangedListener, addOnStyleChangedListener, addStyleBits, findTouchPoint, getArea, getBasicLineStyle, getClickPoint, getFillColor, getGeoPointMetaData, getIconColor, getStrokeColor, getStrokeStyle, getStrokeWeight, getStyle, getTitle, onBasicLineStyleChanged, onFillColorChanged, onStrokeColorChanged, onStrokeStyleChanged, onStrokeWeightChanged, onStyleChanged, removeOnBasicLineStyleChangedListener, removeOnFillColorChangedListener, removeOnPointsChangedListener, removeOnStrokeColorChangedListener, removeOnStrokeWeightChangedListener, removeOnStyleChangedListener, removeStyleBits, setBasicLineStyle, setColor, setColor, setFillAlpha, setFillColor, setStrokeColor, setStrokeStyle, setStrokeWeight, setStyle, setTitle, setTouchPoint, wrap180
addOnAltitudeModeChangedListener, addOnClickableChangedListener, addOnGroupChangedListener, addOnHeightChangedListener, addOnMetadataChangedListener, addOnMetadataChangedListener, addOnTypeChangedListener, addOnVisibleChangedListener, addOnZOrderChangedListener, computeDistance, copyMetaData, createSerialId, dispose, getAltitudeMode, getClickable, getEditable, getGroup, getHashtags, getHeight, getHitRadius, getIconDrawable, getMetaBoolean, getMetaString, getMovable, getRadialMenuPath, getRemarks, getRemarksKey, getSerialId, getTag, getType, getUID, getUniqueMapItemName, getURI, getVisible, getVisible, getZOrder, isTouchable, notifyMetadataChanged, onAdded, onAltitudeModeChanged, onClickableChanged, onGroupChanged, onHeightChanged, onRemoved, onTypeChanged, onVisibilityConditions, onVisibleChanged, onZOrderChanged, persist, refresh, removeFromGroup, removeMetaData, removeOnAltitudeModeChangedListener, removeOnClickableChangedListener, removeOnGroupChangedListener, removeOnHeightChangedListener, removeOnMetadataChangedListener, removeOnMetadataChangedListener, removeOnTypeChangedListener, removeOnVisibleChangedListener, removeOnZOrderChangedListener, setAltitudeMode, setClickable, setClickPoint, setEditable, setHashtags, setHeight, setMetaBoolean, setMetaData, setMetaDouble, setMetaIntArray, setMetaInteger, setMetaLong, setMetaMap, setMetaParcelable, setMetaSerializable, setMetaString, setMetaStringArrayList, setMovable, setRadialMenu, setRemarks, setTag, setTouchable, setType, setVisible, setVisible, setZOrder, testOrthoHit
get, getMetaData, getMetaDouble, getMetaIntArray, getMetaInteger, getMetaLong, getMetaMap, getMetaParcelable, getMetaSerializable, getMetaStringArrayList, hasMetaValue, setMetaDataImpl, toggleMetaData
public static final java.lang.String TAG
public Wedge(java.lang.String uid)
public Wedge(long serialId, MetaDataHolder metadata, java.lang.String uid)
public Wedge setSourcePoint(GeoPoint pointX)
pointX
- A valid GeoPoint denoting the start of the Wedge.public Wedge setEndPoint(GeoPoint pointZ)
pointZ
- A valid GeoPoint denoting the end of the Wedge.public Wedge setDistanceMultiplier(java.lang.Double multiplier)
multiplier
- A double representing the distance multiplierpublic Wedge setOffsetAngle(java.lang.Double angleX)
angleX
- The desired offset angle expressed in degreespublic Wedge setAngle(java.lang.Double angleXprime)
angleXprime
- The desired primary interior angle expressed in degrees. The sum of all
interior angles must be less than 180 degrees.public Wedge setAngle(double angleXprime, boolean showLabel)
angleXprime
- The desired primary interior angle expressed in degrees. The sum of all
interior angles must be less than 180 degrees.showLabel
- Indicate whether or not the Wedge should have a Label indicating the primary
interior angle.public Wedge setAngle(double angleXprime, java.lang.String label0, java.lang.String label1, java.lang.String label2)
angleXprime
- The desired primary interior angle expressed in degrees. The sum of all
interior angles must be less than 180 degrees.label0
- the label to be displayed for label0 described in the header of this class X->Y'
which can be null or empty.label1
- the label to be displayed for label1 described in the header of this class X->Z
which can be null or empty.label2
- the label to be displayed for label2 described in the header of this class Z->Y'
which can be null or empty.public GeoPoint getSourcePoint()
public GeoPoint getEndPoint()
public double getDistanceMultiplier()
public double getOffsetAngle()
public double getAngle()