public static PolygonMesh.Mesh Convert(CsgObject objectToProcess, bool cleanMeshAfterConvert = false) { CsgToMesh visitor = new CsgToMesh(); var mesh = visitor.CsgToMeshRecursive((dynamic)objectToProcess); if (cleanMeshAfterConvert) { mesh.CleanAndMergMesh(CancellationToken.None); } return(mesh); }
public static PolygonMesh.Mesh Convert(CsgObject objectToProcess) { CsgToMesh visitor = new CsgToMesh(); return visitor.CsgToMeshRecursive((dynamic)objectToProcess); }
public static PolygonMesh.Mesh Convert(CsgObject objectToProcess) { CsgToMesh visitor = new CsgToMesh(); return(visitor.CsgToMeshRecursive((dynamic)objectToProcess)); }