コード例 #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
ファイル: CsgToMesh.cs プロジェクト: glocklueng/agg-sharp
		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));
        }