public BuildingRenderDescriptor(IPolygonSource polygonSource, double heightInFeet, Color roofColor, Texture2D wallTexture)
 {
     this.polygonSource = polygonSource;
     this.lineSource    = new EdgeLineSource(polygonSource, true);
     this.heightInFeet  = heightInFeet;
     this.roofColor     = roofColor;
     this.wallTexture   = wallTexture;
 }
Esempio n. 2
0
 public EdgeLineSource(IPolygonSource polygonSource, bool isCCW)
 {
     this.polygonSource = polygonSource;
     this.isCCW         = isCCW;
     if (!isCCW)
     {
         throw new NotImplementedException();
     }
 }
 public PolygonRenderDescriptor(IPolygonSource polygonSource, Color color)
 {
     this.polygonSource = polygonSource;
     this.color         = color;
 }
Esempio n. 4
0
 public SubtractionPolygonSource(IPolygonSource polygonSource1, IPolygonSource polygonSource2)
 {
     this.polygonSource1 = polygonSource1;
     this.polygonSource2 = polygonSource2;
 }