public ComplexQuadrilateral(ShapeInterface shapeInterface, QuadrilateralInterface quadrilateralInterface)
 {
     ShapeInterface         = shapeInterface;
     QuadrilateralInterface = quadrilateralInterface;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SimpleQuadrilateral" /> class.
 /// </summary>
 /// <param name="quadrilateralInterface">quadrilateralInterface</param>
 /// <param name="shapeInterface">shapeInterface</param>
 public SimpleQuadrilateral(QuadrilateralInterface quadrilateralInterface, ShapeInterface shapeInterface)
 {
     QuadrilateralInterface = quadrilateralInterface;
     ShapeInterface         = shapeInterface;
 }
Exemplo n.º 3
0
 public IsoscelesTriangle(ShapeInterface shapeInterface, TriangleInterface triangleInterface)
 {
     ShapeInterface    = shapeInterface;
     TriangleInterface = triangleInterface;
 }
Exemplo n.º 4
0
 public ScaleneTriangle(ShapeInterface shapeInterface, TriangleInterface triangleInterface)
 {
     ShapeInterface    = shapeInterface;
     TriangleInterface = triangleInterface;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EquilateralTriangle" /> class.
 /// </summary>
 /// <param name="shapeInterface">shapeInterface</param>
 /// <param name="triangleInterface">triangleInterface</param>
 public EquilateralTriangle(ShapeInterface shapeInterface, TriangleInterface triangleInterface)
 {
     ShapeInterface    = shapeInterface;
     TriangleInterface = triangleInterface;
 }