RigidShape centerPosition, DEFAULT_GEOMETRY_CACHE_SIZE, detailHint, eastWestRadius, faceCount, GEOMETRY_CACHE_KEY, GEOMETRY_CACHE_NAME, geometryBuilder, heading, imageSources, northSouthRadius, offsets, offsetTextureCoords, previousIntersectionGlobeStateKey, previousIntersectionShapeData, previousIntersectionTerrain, renderExtent, roll, skewEastWest, skewNorthSouth, textures, tilt, verticalRadius AbstractShape AbstractShape.AbstractShapeData Nested classes/interfaces inherited from class .RigidShape RigidShape.Offsets, RigidShape.ShapeData ThisĪpproximation is chosen such that the display appears to be a continuous smooth ellipse. SeeĮllipse's appearance on screen is composed of discrete segments which approximate the ellipse's geometry. Terrain following state and setting its altitude mode to CLAMP_TO_GROUND. Surface ellipse geometry, where an ellipse appears draped across the terrain, may be achieved by enabling ellipse's The same ellipse with an altitude mode of RELATIVE_TO_GROUND displays at 1km above ground level, relative ForĮxample, an ellipse with a center position altitude of 1km and altitude mode of ABSOLUTE displays at 1km above mean Pointing Southeast and the semi-minor axis pointing Northeast.Įllipse geometry displays at a constant altitude determined by the geographic center position and altitude mode. Configuring ellipse with a heading of 45.0 results in the semi-major axis Heading isĭefined in degrees clockwise from North. Semi-minor axes about the center position, while retaining the axes relative relationship to one another. Ellipse provides an optional heading, which when set to anything other than 0.0 rotates the semi-major and * * rc current RenderContext * * an even number of intervals */ protected int computeIntervals(RenderContext rc) Įllipse shape defined by a geographic center position and radii for the semi-major and semi-minor axes.Įllipse axes, by default, are oriented such that the semi-major axis points East and the semi-minor axis points ** * Calculate the number of times to split the edges of the shape for geometry assembly. setFollowTerrain ( true ) // cause the ellipse geometry to follow the terrain surface ellipse. setAltitudeMode (WorldWind.CLAMP_TO_GROUND) // clamp the ellipse's center position to the terrain surface ellipse. setFollowTerrain ( true ) // cause the ellipse geometry to follow the terrain surface tutorialLayer.addRenderable(ellipse) ĪtInteriorColor( new Color( 1, 1, 1, 0.5f )) // 50% transparent white tOutlineWidth( 3 ) Įllipse = new Ellipse ( new Position( 45, - 100, 0 ), 500000, 300000, attrs) Įllipse = new Ellipse ( new Position( 35, - 120, 0 ), 500000, 300000 ) Įllipse.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |