Main Page | Alphabetical List | Compound List | File List | Compound Members | File Members

srm_BaseSRF2D.h

Go to the documentation of this file.
00001 /* SRM API
00002  *
00003  * SRM SDK Release 4.4.0 - December 7, 2009
00004  *
00005  * - SRM spec. 4.4
00006  *
00007  *
00008  *                             NOTICE
00009  * 
00010  * This software is provided openly and freely for use in representing and
00011  * interchanging environmental data & databases.
00012  * 
00013  * This software was developed for use by the United States Government with
00014  * unlimited rights.  The software was developed under contract
00015  * DASG60-02-D-0006 TO-193 by Science Applications International Corporation.
00016  * The software is unclassified and is deemed as Distribution A, approved
00017  * for Public Release.
00018  * 
00019  * Use by others is permitted only upon the ACCEPTANCE OF THE TERMS AND
00020  * CONDITIONS, AS STIPULATED UNDER THE FOLLOWING PROVISIONS:
00021  * 
00022  *    1. Recipient may make unlimited copies of this software and give
00023  *       copies to other persons or entities as long as the copies contain
00024  *       this NOTICE, and as long as the same copyright notices that
00025  *       appear on, or in, this software remain.
00026  * 
00027  *    2. Trademarks. All trademarks belong to their respective trademark
00028  *       holders.  Third-Party applications/software/information are
00029  *       copyrighted by their respective owners.
00030  * 
00031  *    3. Recipient agrees to forfeit all intellectual property and
00032  *       ownership rights for any version created from the modification
00033  *       or adaptation of this software, including versions created from
00034  *       the translation and/or reverse engineering of the software design.
00035  * 
00036  *    4. Transfer.  Recipient may not sell, rent, lease, or sublicense
00037  *       this software.  Recipient may, however enable another person
00038  *       or entity the rights to use this software, provided that this
00039  *       AGREEMENT and NOTICE is furnished along with the software and
00040  *       /or software system utilizing this software.
00041  * 
00042  *       All revisions, modifications, created by the Recipient, to this
00043  *       software and/or related technical data shall be forwarded by the
00044  *       Recipient to the Government at the following address:
00045  * 
00046  *         SMDC
00047  *         Attention SEDRIS (TO193) TPOC
00048  *         P.O. Box 1500
00049  *         Hunstville, AL  35807-3801
00050  * 
00051  *         or via electronic mail to:  se-mgmt@sedris.org
00052  * 
00053  *    5. No Warranty. This software is being delivered to you AS IS
00054  *       and there is no warranty, EXPRESS or IMPLIED, as to its use
00055  *       or performance.
00056  * 
00057  *       The RECIPIENT ASSUMES ALL RISKS, KNOWN AND UNKNOWN, OF USING
00058  *       THIS SOFTWARE.  The DEVELOPER EXPRESSLY DISCLAIMS, and the
00059  *       RECIPIENT WAIVES, ANY and ALL PERFORMANCE OR RESULTS YOU MAY
00060  *       OBTAIN BY USING THIS SOFTWARE OR DOCUMENTATION.  THERE IS
00061  *       NO WARRANTY, EXPRESS OR, IMPLIED, AS TO NON-INFRINGEMENT OF
00062  *       THIRD PARTY RIGHTS, MERCHANTABILITY, OR FITNESS FOR ANY
00063  *       PARTICULAR PURPOSE.  IN NO EVENT WILL THE DEVELOPER, THE
00064  *       UNITED STATES GOVERNMENT OR ANYONE ELSE ASSOCIATED WITH THE
00065  *       DEVELOPMENT OF THIS SOFTWARE BE HELD LIABLE FOR ANY CONSEQUENTIAL,
00066  *       INCIDENTAL OR SPECIAL DAMAGES, INCLUDING ANY LOST PROFITS
00067  *       OR LOST SAVINGS WHATSOEVER.
00068  *
00069  *
00070  * SRM_OTHERS_GOES_HERE
00071  *
00072  *
00073  * COPYRIGHT 2009, SCIENCE APPLICATIONS INTERNATIONAL CORPORATION.
00074  *                 ALL RIGHTS RESERVED.
00075  * 
00076  *
00077  */
00078 #ifndef SRM_BASESRF2D_H_INCLUDED
00079 #define SRM_BASESRF2D_H_INCLUDED
00080 
00081 #if !defined(_WIN32)
00082 #define EXPORT_DLL
00083 #elif !defined(EXPORT_DLL)
00084 #if defined(_LIB)
00085 #define EXPORT_DLL
00086 #elif defined(_USRDLL)
00087 #define EXPORT_DLL __declspec(dllexport)
00088 #else
00089 #define EXPORT_DLL __declspec(dllimport)
00090 #endif
00091 #endif /* _WIN32 && EXPORT_DLL */
00092 
00093 #include "srm.h"
00094 
00095 #ifdef __cplusplus
00096 extern "C" {
00097 #endif
00098 
00111 typedef SRM_Status_Code SRM_ChangeCoordinate2DArraySRF
00112 (
00113           SRM_Object_Reference    this_object,
00114     const SRM_Object_Reference    source_srf,
00115     const SRM_Coordinate2D_Array *source_coordinate_array,
00116           SRM_Coordinate2D_Array *target_coordinate_array, /* OUT */
00117           SRM_Integer_Positive   *index                    /* OUT */
00118 );
00119 
00133 typedef SRM_Status_Code SRM_ChangeCoordinate2DArraySRFObject
00134 (
00135           SRM_Object_Reference                  this_object,
00136     const SRM_Object_Reference                  source_srf,
00137     const SRM_Coordinate2D_Array               *source_coordinate_array,
00138     const SRM_ORM_Transformation_2D_Parameters *h_st,
00139           SRM_Coordinate2D_Array               *target_coordinate_array, /* OUT */
00140           SRM_Integer_Positive                 *index                    /* OUT */
00141 );
00142 
00151 typedef SRM_Status_Code SRM_ChangeCoordinate2DSRF
00152 (
00153           SRM_Object_Reference  this_object,
00154     const SRM_Object_Reference  source_srf,
00155     const SRM_Coordinate2D     *source_coordinate,
00156           SRM_Coordinate2D     *target_coordinate  /* OUT */
00157 );
00158 
00170 typedef SRM_Status_Code SRM_ChangeCoordinate2DSRFObject
00171 (
00172           SRM_Object_Reference                  this_object,
00173     const SRM_Object_Reference                  source_srf,
00174     const SRM_Coordinate2D                     *source_coordinate,
00175     const SRM_ORM_Transformation_2D_Parameters *h_st,
00176           SRM_Coordinate2D                     *target_coordinate  /* OUT */
00177 );
00178 
00187 typedef SRM_Status_Code SRM_CreateCoordinate2D
00188 (
00189     SRM_Object_Reference  this_object,
00190     SRM_Long_Float        first_coordinate_component,
00191     SRM_Long_Float        second_coordinate_component,
00192     SRM_Coordinate2D     *new_coordinate               /* OUT */
00193 );
00194 
00199 typedef SRM_Status_Code SRM_DestroyCoordinate2D
00200 (
00201     SRM_Object_Reference this_object,
00202     SRM_Object_Reference coordinate
00203 );
00204 
00212 typedef SRM_Status_Code SRM_EuclideanDistance2D
00213 (
00214           SRM_Object_Reference  this_object,
00215     const SRM_Coordinate2D     *source_coordinate,
00216     const SRM_Coordinate2D     *target_coordinate,
00217           SRM_Long_Float       *distance           /* OUT */
00218 );
00219 
00227 typedef SRM_Status_Code SRM_GetCoordinate2DValues
00228 (
00229           SRM_Object_Reference  this_object,
00230     const SRM_Coordinate2D     *coordinate,
00231           SRM_Long_Float       *first_coordinate_component,  /* OUT */
00232           SRM_Long_Float       *second_coordinate_component  /* OUT */
00233 );
00234 
00242 typedef SRM_Status_Code SRM_SetCoordinate2DValues
00243 (
00244     SRM_Object_Reference  this_object,
00245     SRM_Coordinate2D     *coordinate, /* IN / OUT */
00246     SRM_Long_Float        first_coordinate_component,
00247     SRM_Long_Float        second_coordinate_component
00248 );
00249 
00250 #ifdef __cplusplus
00251 }
00252 #endif
00253 #endif /* #ifndef/define/endif for SRM_BASESRF2D_H_INCLUDED */

C API Version: 4.4 - December 7, 2009
Copyright © 2009 SEDRIS Docs by Doxygen 1.3.2