1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- using BBIWARG.Utility;
- namespace BBIWARG.Recognition.FingerRecognition
- {
-
-
-
- public class FingerSlice
- {
-
-
-
- public Vector2D Direction { get { return LineSegment.Direction; } }
-
-
-
- public Vector2D End { get; private set; }
-
-
-
- public float Length { get { return LineSegment.Length; } }
-
-
-
- public LineSegment2D LineSegment { get; private set; }
-
-
-
- public Vector2D Mid { get; private set; }
-
-
-
- public Vector2D Start { get; private set; }
-
-
-
-
-
- public FingerSlice(Vector2D start, Vector2D end)
- {
- Start = start;
- End = end;
- Mid = (start + end) / 2;
- LineSegment = new LineSegment2D(Start, End);
- }
- }
- }
|