public static bool MinSrfGlobal_CS(ref MeshAPI_CS api_cs) { MeshAPI_CPP api_cpp = new MeshAPI_CPP(); api_cpp.linkWith(ref api_cs); MinSrfGlobal_CPP(ref api_cpp); return(true); }
public static bool Param_UFB_ARAP_CS(ref MeshAPI_CS api_cs) { api_cs.initTexCoord(); MeshAPI_CPP api_cpp = new MeshAPI_CPP(); api_cpp.linkWith(ref api_cs); Param_UFB_ARAP_CPP(ref api_cpp); return(true); }
public static bool MinSrfCurve_CS(ref MeshAPI_CS api_cs, ref Mesh mesh) { MeshAPI_CPP api_cpp_in = new MeshAPI_CPP(); api_cpp_in.linkWith(ref api_cs); MeshAPI_CPP api_cpp_out = new MeshAPI_CPP(); MinSrfCurve_CPP(ref api_cpp_in, out api_cpp_out); api_cs.loadFrom(ref api_cpp_out); api_cs.convertTo(ref mesh); // free v and f MeshAPIFree_CPP(ref api_cpp_out); return(true); }