Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the
 /// <see cref="Triangle"/> class.
 /// </summary>
 /// <param name="penroseRhombus">The type of the rhombus (fat or thin).</param>
 /// <param name="a">The A corner of the triangle.</param>
 /// <param name="b">The B corner of the triangle.</param>
 /// <param name="c">The C corner of the triangle.</param>
 internal Triangle(RhombusType penroseRhombus, PointF a, PointF b, PointF c)
 {
     this.RhombusType = penroseRhombus;
     this.A           = a;
     this.B           = b;
     this.C           = c;
 }
Ejemplo n.º 2
0
		/// <summary>
		/// Initializes a new instance of the
		/// <see cref="Triangle"/> class.
		/// </summary>
		/// <param name="penroseRhombus">The type of the rhombus (fat or thin).</param>
		/// <param name="a">The A corner of the triangle.</param>
		/// <param name="b">The B corner of the triangle.</param>
		/// <param name="c">The C corner of the triangle.</param>
		internal Triangle(RhombusType penroseRhombus, PointF a, PointF b, PointF c)
		{
			this.RhombusType = penroseRhombus;
			this.A = a;
			this.B = b;
			this.C = c;
		}