![]() Sets surface shape parameters prior to picking and rendering the 2D shape used to represent this shape on 2D Not provided in this case: display of path positions, extrusion, outline pick width, and identification of path When drawn on a 2D globe, this shape uses a SurfacePolyline to represent itself. Position dots intersecting the pick rectangle are returned as a List of Integer objects in the PickedObject's AVList A positionĭot under the cursor is returned as an Integer object in the PickedObject's AVList under they key AVKey.ORDINAL. Path picking includes information about which position dots are picked, in addition to the path itself. The path's line and the path's position dots may be drawn in unique RGBA colors by configuring the path with a Path.PositionColors (see setPositionColors(.Path.PositionColors)). The dots are drawn in the path's outline material colors by default. The threshold may be specified by calling setShowPositionsThreshold(double). When the Path is within a threshold distance from the eye point. The size of the dots may be specified via setShowPositionsScale(double). This causes dots to be drawn at each originally specified path position. The path positions may be shown by calling setShowPositions(boolean) with an argument of true. The latter case may produce higher performance than the former. Number of intermediate positions between specified positions is the constant value specified by the num-subsegments If the follow-terrain property is false, the view position is not considered and the See setFollowTerrain(boolean) and setTerrainConformance(double). When the follow-terrain property is true, terrain conformanceĪdapts as the view moves relative to the path the terrain-conformance property governs the precision of conformance,Īnd the number of intermediate positions computed varies. The terrain conformance of GREAT_CIRCLE or RHUMB_LINE paths is determined by the path'sįollow-terrain and terrain-conformance properties. Otherwise the path control points will be connected by straight line segments. When the path type is LINEAR the path conforms to terrain only if the follow-terrain property is true. See DEFAULT_INTERIOR_MATERIAL, DEFAULT_OUTLINE_MATERIAL, and AbstractShape.DEFAULT_HIGHLIGHT_MATERIAL. If no attributes are specified, defaultĪttributes are used. Paths have separate attributes for normal display and highlighted display. If theĪltitude mode is WorldWind.CLAMP_TO_GROUND the altitudes are ignored.īetween the specified positions the path is drawn along a curve specified by the path's path type, either AVKey.GREAT_CIRCLE, AVKey.RHUMB_LINE or AVKey.LINEAR. WorldWind.RELATIVE_TO_GROUND, the altitudes are added to the elevation of the terrain at the position. WorldWind.ABSOLUTE, the altitudes are considered as height above the ellipsoid. A curtain may be formed byĪltitudes within the path's positions are interpreted according to the path's altitude mode. It can also conform to the underlying terrain. The path is drawn between input positions to achieve a specified path Throws: - if either the globe or sector is null.Displays a line or curve between positions. Returns: a box enclosing the globe's surface on the specified sector. ma圎levation - the globe's maximum elevation in the sector. minElevation - the globe's minimum elevation in the sector. sector - a sector on the globe's surface to compute a bounding box for. verticalExaggeration - the globe's vertical surface exaggeration. Parameters: globe - the globe the extent relates to. ![]() If this fails to compute a boxĮnclosing the sector, this returns a unit box enclosing one of the boxes corners. ![]() Maximum elevation are equal, this assumes a maximum elevation of 10 + the minimum. The returned box encloses the globe's surface terrain in the sector,Īccording to the specified vertical exaggeration, minimum elevation, and maximum elevation. Returns a Box that bounds the specified sector on the surface of the specified ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |