示例#1
0
        /// <summary>
        /// Get the CRS string for a Mesh
        ///
        /// <a href="https://www.mdal.xyz/api/mdal_c_api.html#_CPPv417MDAL_M_projection10MDAL_MeshH">Implements MDAL_M_projection</a>
        /// </summary>
        /// <param name="pointer"><see cref="MDAL_Status" /> Pointer</param>
        /// <returns> <see cref="string" /> The CRS string</returns>
        public static string GetCRS(MdalMesh pointer)
        {
            IntPtr ret  = MDAL_M_projection(pointer);
            string proj = Marshal.PtrToStringAnsi(ret);

            return(proj);
        }
示例#2
0
 private static extern IntPtr MDAL_M_projection(MdalMesh pointer);
示例#3
0
 public static extern int MDAL_M_datasetGroupCount(MdalMesh pointer);
示例#4
0
 public static extern int MDAL_M_faceCount(MdalMesh pointer);
示例#5
0
 public static extern int MDAL_M_vertexCount(MdalMesh pointer);
示例#6
0
 public static extern MdalDatasetGroup MDAL_M_datasetGroup(MdalMesh pointer, int index);
示例#7
0
 public static extern int MDAL_M_faceVerticesMaximumCount(MdalMesh pointer);
示例#8
0
 public static extern MdalFaceIterator MDAL_M_faceIterator(MdalMesh pointer);
示例#9
0
 public static extern MdalVertexIterator MDAL_M_vertexIterator(MdalMesh pointer);