Ejemplo n.º 1
0
 private void RefreshGeometryModel()
 {
     if (GeometryModel != null)
     {
         Graphics3D.RefreshCubeGeometryModel(GeometryModel, Position, Dimensions);
     }
     else
     {
         GeometryModel = Graphics3D.GetCube(Position, Dimensions, new SolidColorBrush(ModelColor));
     }
 }
Ejemplo n.º 2
0
 public void RefreshGeometryModel()
 {
     if (StartNode != null && EndNode != null)
     {
         if (GeometryModel != null)
         {
             Graphics3D.RefreshLineGeometryModel(GeometryModel, StartNode.Position, EndNode.Position, Gauge);
         }
         else
         {
             GeometryModel = Graphics3D.GetLine(StartNode.Position, EndNode.Position, ModelColor, Gauge);
         }
     }
 }