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

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