Exemple #1
0
 public SimpleTriangleBuilder(TriangleBuilder next)
 {
     this.next = next;
 }
Exemple #2
0
        /// <summary>
        /// Method EquilTriangleBuilder
        /// create EquilaterialTriangleBuilder
        /// if data is suitable
        /// or transfer data to another Builder
        /// </summary>
        /// <param name="next"> link to the next Builder (SimpleTriangleBuilder)</param>

        public EquilTriangleBuilder(TriangleBuilder next)
        {
            this.next = next;
        }
        /// <summary>
        /// Method RightTriangleBuilder
        /// create RightTriangleBuilder
        /// if data is suitable
        /// or transfer data to another Builder
        /// </summary>
        /// <param name="next"> link to the next Builder (EquilTriangleBuilder)</param>

        public RightTriangleBuilder(TriangleBuilder next)
        {
            this.next = next;
        }