Class Orbit

    • Constructor Detail

      • Orbit

        public Orbit​(LatLon location1,
                     LatLon location2,
                     java.lang.String orbitType,
                     double width)
      • Orbit

        public Orbit​(Orbit source)
      • Orbit

        public Orbit()
    • Method Detail

      • getLocations

        public LatLon[] getLocations()
      • setLocations

        public void setLocations​(LatLon location1,
                                 LatLon location2)
      • getAdjustedLocations

        protected LatLon[] getAdjustedLocations​(Globe globe)
      • getOrbitType

        public java.lang.String getOrbitType()
      • setOrbitType

        public void setOrbitType​(java.lang.String orbitType)
      • getWidth

        public double getWidth()
      • setWidth

        public void setWidth​(double width)
      • isEnableCaps

        public boolean isEnableCaps()
      • setEnableCaps

        public void setEnableCaps​(boolean enable)
      • getReferencePosition

        public Position getReferencePosition()
        Description copied from interface: Movable
        A position associated with the object that indicates its aggregate geographic position. The chosen position varies among implementers of this interface. For objects defined by a list of positions, the reference position is typically the first position in the list. For symmetric objects the reference position is often the center of the object. In many cases the object's reference position may be explicitly specified by the application.
        Returns:
        the object's reference position, or null if no reference position is available.
      • updateSurfaceShape

        protected void updateSurfaceShape​(DrawContext dc,
                                          SurfaceShape shape)
        Description copied from class: AbstractAirspace
        Sets surface shape parameters prior to picking and rendering the 2D shape used to represent this Airspace on 2D globes. Subclasses should override this method if they need to update more than the attributes and the delegate owner.
        Overrides:
        updateSurfaceShape in class AbstractAirspace
        Parameters:
        dc - the current drawing context.
        shape - the surface shape to update.
      • regenerateSurfaceShape

        protected void regenerateSurfaceShape​(DrawContext dc,
                                              SurfaceShape shape)
        Description copied from class: AbstractAirspace
        Regenerates surface shape geometry prior to picking and rendering the 2D shape used to represent this Airspace on 2D globes.
        Overrides:
        regenerateSurfaceShape in class AbstractAirspace
        Parameters:
        dc - the current drawing context.
        shape - the surface shape to regenerate.
      • getArcSlices

        protected int getArcSlices()
      • setArcSlices

        protected void setArcSlices​(int arcSlices)
      • getLengthSlices

        protected int getLengthSlices()
      • setLengthSlices

        protected void setLengthSlices​(int lengthSlices)
      • getStacks

        protected int getStacks()
      • getLoops

        protected int getLoops()
      • setLoops

        protected void setLoops​(int loops)
      • computeReferenceCenter

        protected Vec4 computeReferenceCenter​(DrawContext dc)
      • computeEllipsoidalTransform

        protected Matrix computeEllipsoidalTransform​(Globe globe,
                                                     double verticalExaggeration)