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; }
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; }
public SubtractionPolygonSource(IPolygonSource polygonSource1, IPolygonSource polygonSource2) { this.polygonSource1 = polygonSource1; this.polygonSource2 = polygonSource2; }