1234567891011121314151617181920212223242526272829303132 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace bbiwarg.Utility
- {
- class Projection2DTo2D
- {
- private int sourceWidth;
- private int sourceHeight;
- private int destinationWidth;
- private int destinationHeight;
- private Dictionary<Vector2D, Vector2D> calibrationPoints;
- public bool IsCalibrated { get; private set; }
- public Projection2DTo2D(int sourceWidth, int sourceHeight, int destinationWidth, int destinationHeight) {
- this.sourceWidth = sourceWidth;
- this.sourceHeight = sourceHeight;
- this.destinationWidth = destinationWidth;
- this.destinationHeight = destinationHeight;
- IsCalibrated = false;
- calibrationPoints = new Dictionary<Vector2D, Vector2D>();
- }
- }
- }
|