Class AngleBearingEvaluation
- java.lang.Object
-
- com.appliedrec.verid.core2.session.AngleBearingEvaluation
-
public class AngleBearingEvaluation extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AngleBearingEvaluation(VerIDSessionSettings sessionSettings, float pitchThresholdTolerance, float yawThresholdTolerance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
angleMatchesBearing(EulerAngle angle, Bearing bearing)
Helper method to check whether an angle matches a bearingEulerAngle
getAngleForBearing(Bearing bearing)
Helper method to get an angle representing the given bearing.boolean
isAngleBetweenBearings(EulerAngle angle, Bearing fromBearing, Bearing toBearing)
protected boolean
isPointInsideCircleCentredInPointWithRadius(EulerAngle pt, EulerAngle centre, float radius)
protected boolean
isPointToRightOfPlaneBetweenPoints(EulerAngle angle, EulerAngle start, EulerAngle end)
-
-
-
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 anglebearing
- Bearing- Returns:
- true if the angle matches the bearing
- Since:
- 1.0.0
-
isPointToRightOfPlaneBetweenPoints
protected boolean isPointToRightOfPlaneBetweenPoints(EulerAngle angle, EulerAngle start, EulerAngle end)
-
isPointInsideCircleCentredInPointWithRadius
protected boolean isPointInsideCircleCentredInPointWithRadius(EulerAngle pt, EulerAngle centre, float radius)
-
isAngleBetweenBearings
public final boolean isAngleBetweenBearings(EulerAngle angle, Bearing fromBearing, Bearing toBearing)
-
-