public static void VisualizeBarriers(I_OSM_To_BIM visualizer, BarrierPolygon[] barriers, double height = 0)
 {
     foreach (BarrierPolygon item in barriers)
     {
         visualizer.VisualizePolygon(item.BoundaryPoints, height);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Visualize a cell in the BIM target platform
 /// </summary>
 /// <param name="visualizer">An instance of the IVisualize interface</param>
 /// <param name="size">Cell size</param>
 /// <param name="elevation">Elevation of visualization</param>
 public void Visualize(I_OSM_To_BIM visualizer, double size, double elevation)
 {
     UV[] pnts = new UV[4];
     pnts[0] = this;
     pnts[1] = this + UV.UBase * size;
     pnts[2] = this + UV.UBase * size + UV.VBase * size;
     pnts[3] = this + UV.VBase * size;
     visualizer.VisualizePolygon(pnts, elevation);
 }
 /// <summary>
 /// Visualizes the polygon in the BIM environment.
 /// </summary>
 /// <param name="visualizer">The visualizer.</param>
 /// <param name="elevation">The elevation.</param>
 public void Visualize(I_OSM_To_BIM visualizer, double elevation)
 {
     visualizer.VisualizePolygon(this.BoundaryPoints, elevation);
 }