Simply3DScan
Line.cs
Go to the documentation of this file.
1 namespace SharedObjects
2 {
6  public class Line
7  {
8  private double alpha;
9  private double beta;
10 
17  public ColorPoint3D Point1 { get; set; }
18 
25  public ColorPoint3D Point2 { get; set; }
26 
33  public double Alpha
34  {
35  get { return this.alpha; }
36  set { this.alpha = value; }
37  }
38 
45  public double Beta
46  {
47  get { return this.beta; }
48  set { this.beta = value; }
49  }
50 
56  public Line(ColorPoint3D point1, ColorPoint3D point2)
57  {
58  this.Point1 = point1;
59  this.Point2 = point2;
60  point1.ChevronFromPoints(point2, out this.alpha, out this.beta);
61  }
62  }
63 }
ColorPoint3D Point2
Gets or sets the point2.
Definition: Line.cs:25
ColorPoint3D Point1
Gets or sets the point1.
Definition: Line.cs:17
Line(ColorPoint3D point1, ColorPoint3D point2)
Initializes a new instance of the Line class.
Definition: Line.cs:56
double Beta
Gets or sets the beta chevron.
Definition: Line.cs:46
double Alpha
Gets or sets the alpha chevron.
Definition: Line.cs:34