BuildingCoder.CmdExportSolidToSat.Clone C# (CSharp) Метод

Clone() публичный статический Метод

public static Clone ( Solid solid ) : Solid
solid Solid
Результат Solid
        public static Solid Clone( /*this*/ Solid solid )
        {
            if( solid == null )
              {
            return null;
              }

              // Better than unioning the solid with itself:
              // use a small cube contained within the original
              // solid instead, e.g. a 1x1x1 cube at the origin
              // or something.

              return BooleanOperationsUtils
            .ExecuteBooleanOperation( solid, solid,
              BooleanOperationsType.Union );
        }
CmdExportSolidToSat