Class BasicMarker

    • Method Detail

      • getHeading

        public Angle getHeading()
        Indicates heading of this marker. Not all implementations support heading. If the implementation does not support heading, the heading will be ignored.
        Specified by:
        getHeading in interface Marker
        Returns:
        The marker heading in degrees clockwise from North. May be null, in which case no heading is applied.
      • setHeading

        public void setHeading​(Angle heading)
        Specifies the heading of this marker.
        Specified by:
        setHeading in interface Marker
        Parameters:
        heading - the marker heading in degrees clockwise from North. May be null, in which case no heading is applied.
      • getRoll

        public Angle getRoll()
        Indicates the roll of this marker. Not all implementations support roll. If the implementation does not support roll, the roll will be ignored.
        Specified by:
        getRoll in interface Marker
        Returns:
        The marker roll in degrees clockwise. May be null, in which case no roll is applied.
      • setRoll

        public void setRoll​(Angle roll)
        Specifies the roll of this marker. Not all implementations support roll. If the implementation does not support roll, the roll will be ignored.
        Specified by:
        setRoll in interface Marker
        Parameters:
        roll - the marker roll in degrees clockwise. May be null, in which case no roll is applied.
      • getPitch

        public Angle getPitch()
        Indicates pitch this marker. Not all implementations support pitch. If the implementation does not support pitch, the pitch will be ignored.
        Specified by:
        getPitch in interface Marker
        Returns:
        The marker pitch in degrees from a surface normal. May be null, in which case no heading is applied.
      • setPitch

        public void setPitch​(Angle pitch)
        Specifies the pitch of this marker. Not all implementations support pitch. If the implementation does not support pitch, the pitch will be ignored.
        Specified by:
        setPitch in interface Marker
        Parameters:
        pitch - the marker pitch in degrees from a surface normal. Positive values result in a rotation toward the marker heading, or toward North if there is no heading. May be null, in which case no pitch is applied.
      • render

        public void render​(DrawContext dc,
                           Vec4 point,
                           double radius,
                           boolean isRelative)
        Specified by:
        render in interface Marker