Class AngleBearingEvaluation


  • public class AngleBearingEvaluation
    extends java.lang.Object
    • Constructor Detail

      • AngleBearingEvaluation

        public AngleBearingEvaluation​(VerIDSessionSettings sessionSettings,
                                      float pitchThresholdTolerance,
                                      float yawThresholdTolerance)
    • Method Detail

      • getAngleForBearing

        public final EulerAngle getAngleForBearing​(Bearing bearing)
        Helper method to get an angle representing the given bearing.
        Parameters:
        bearing - Bearing
        Returns:
        Bearing angle
        Since:
        1.0.0
      • angleMatchesBearing

        public final boolean angleMatchesBearing​(EulerAngle angle,
                                                 Bearing bearing)
        Helper method to check whether an angle matches a bearing
        Parameters:
        angle - Face angle
        bearing - Bearing
        Returns:
        true if the angle matches the bearing
        Since:
        1.0.0
      • isPointInsideCircleCentredInPointWithRadius

        protected boolean isPointInsideCircleCentredInPointWithRadius​(EulerAngle pt,
                                                                      EulerAngle centre,
                                                                      float radius)
      • isAngleBetweenBearings

        public final boolean isAngleBetweenBearings​(EulerAngle angle,
                                                    Bearing fromBearing,
                                                    Bearing toBearing)