Changeset 908

Show
Ignore:
Timestamp:
10/09/08 08:57:58 (3 months ago)
Author:
mloskot
Message:

trunk/csharp: Added helpful comment about DLL_LAS_VERSION constant defined in dotnetLibLAS/LibLASCAPI.cs file.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/csharp/dotnetLibLAS/LibLASCAPI.cs

    r901 r908  
    11/****************************************************************************** 
    2  *  
     2 * $Id$ 
    33 * 
    44 * Project:  libLAS - http://liblas.org - A BSD library for LAS format data. 
     
    4040 ****************************************************************************/ 
    4141 
    42  
    4342using System; 
    4443using System.Collections.Generic; 
     
    5352using LASHeaderH = System.IntPtr; 
    5453 
    55  
    5654namespace LibLAS 
    5755{ 
    58       internal class CAPI 
     56    internal class CAPI 
    5957    { 
    60  
    61  
    6258        /** Returns the version string for this library. 
    63         *  @return the version string for this library. 
    64         */ 
    65          public const string DLL_LAS_VERSION = "mingw_liblas1.dll"; 
    66  
    67         [DllImport(DLL_LAS_VERSION)] 
    68          public static extern String LAS_GetVersion(); 
    69  
     59         * @return the version string for this library. 
     60         *  
     61         * If libLAS is built using solution from trunk/build/msvc80/liblas.sln 
     62         * then C API DLL is called liblas_c_dll.dll, so value of the constant below 
     63         * should be updated to "liblas_c_dll.dll". 
     64         */ 
     65        public const string DLL_LAS_VERSION = "mingw_liblas1.dll"; 
     66 
     67        [DllImport(DLL_LAS_VERSION)] 
     68        public static extern String LAS_GetVersion(); 
    7069 
    7170        /****************************************************************************/ 
     
    174173        /* Point operations                                                         */ 
    175174        /****************************************************************************/ 
    176          
     175 
    177176 
    178177        /** Returns the X value for the point.  This value is not scaled or offset 
     
    373372        */ 
    374373        [DllImport(DLL_LAS_VERSION)] 
    375          public static extern LASError LASPoint_SetScanAngleRank(LASPointH hPoint, SByte value); 
     374        public static extern LASError LASPoint_SetScanAngleRank(LASPointH hPoint, SByte value); 
    376375 
    377376        /** Returns the arbitrary user data for the point 
     
    405404        */ 
    406405        [DllImport(DLL_LAS_VERSION)] 
    407          public static extern int LASPoint_Validate(LASPointH hPoint); 
     406        public static extern int LASPoint_Validate(LASPointH hPoint); 
    408407 
    409408        /** Returns a boolean whether or not the point is valid 
     
    469468        public static extern UInt16 LASHeader_GetFileSourceId(LASHeaderH hHeader); 
    470469 
    471          [DllImport(DLL_LAS_VERSION)] 
    472          public static extern LASError LASHeader_SetFileSourceId(LASHeaderH hHeader, UInt16 value); 
     470        [DllImport(DLL_LAS_VERSION)] 
     471        public static extern LASError LASHeader_SetFileSourceId(LASHeaderH hHeader, UInt16 value); 
    473472 
    474473        /** Returns the project id for the header as a GUID string 
     
    10301029 
    10311030        [DllImport(DLL_LAS_VERSION)] 
    1032         public static extern LASError LASVLR_SetData(LASVLRH hVLR, ref byte[] data,  int length); 
    1033  
    1034  
     1031        public static extern LASError LASVLR_SetData(LASVLRH hVLR, ref byte[] data, int length); 
    10351032    } 
    10361033}