示例#1
0
 public Scientrace.FlatShape2d setBack()
 {
     this.back_flatshape = new Scientrace.Triangle(this.loc + this.length.toLocation(), this.height, this.width);
     this.back_flatshape.surfaceproperties = SurfaceProperties.NewSurfaceModifiedObject(this, this.back_surface_modifiers);
     return(this.back_flatshape);
 }
示例#2
0
 public Scientrace.FlatShape2d setFront()
 {
     this.front_flatshape = new Scientrace.Triangle(this.loc, this.height, this.width);
     this.front_flatshape.surfaceproperties = SurfaceProperties.NewSurfaceModifiedObject(this, this.front_surface_modifiers);
     return(this.front_flatshape);
 }
示例#3
0
 public Scientrace.FlatShape2d setSide()
 {
     this.side_flatshape = new Scientrace.Parallelogram(this.loc, this.height, this.length);
     this.side_flatshape.surfaceproperties = SurfaceProperties.NewSurfaceModifiedObject(this, this.side_surface_modifiers);
     return(this.side_flatshape);
 }
示例#4
0
 public Scientrace.FlatShape2d setHypothenuse()
 {
     this.hypothenuse_flatshape = new Scientrace.Parallelogram(this.loc + this.width.toLocation(), (this.height - this.width), this.length);
     this.hypothenuse_flatshape.surfaceproperties = SurfaceProperties.NewSurfaceModifiedObject(this, this.hypotenuse_surface_modifiers);
     return(this.hypothenuse_flatshape);
 }
示例#5
0
 /* LAZY-INITIALIZERS FOR SURFACES */
 public Scientrace.FlatShape2d setBottom()
 {
     this.bottom_flatshape = new Scientrace.Parallelogram(this.loc, this.width, this.length);
     this.bottom_flatshape.surfaceproperties = SurfaceProperties.NewSurfaceModifiedObject(this, this.bottom_surface_modifiers);
     return(this.bottom_flatshape);
 }