Esempio n. 1
0
        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);
        }
Esempio n. 2
0
		public static PolygonMesh.Mesh Convert(CsgObject objectToProcess)
		{
			CsgToMesh visitor = new CsgToMesh();
			return visitor.CsgToMeshRecursive((dynamic)objectToProcess);
		}
Esempio n. 3
0
        public static PolygonMesh.Mesh Convert(CsgObject objectToProcess)
        {
            CsgToMesh visitor = new CsgToMesh();

            return(visitor.CsgToMeshRecursive((dynamic)objectToProcess));
        }