Interface Marker

    • Method Detail

      • render

        void render​(DrawContext dc,
                    Vec4 point,
                    double radius,
                    boolean isRelative)
      • setPosition

        void setPosition​(Position position)
      • getHeading

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

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

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

        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.
        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.
      • getRoll

        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.
        Returns:
        The marker roll in degrees clockwise. May be null, in which case no roll is applied.
      • setRoll

        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.
        Parameters:
        roll - the marker roll in degrees clockwise. May be null, in which case no roll is applied.