The SEDRIS Data Representation Model
APPENDIX D - Functions
SE ConvertCoordToFields
extern SE_DRM_Status_Code
SE_ConvertCoordToFields
(
constSRM_Coord *coord_ptr, (notes)
SE_Fields *fields_ptr (notes)
);

Definition

Converts the given coordinate to the fields of the corresponding <Location> subclass.


Returns

SE_DRM_STAT_CODE_SUCCESS and *fields_ptr is set appropriately, if valid parameters were passed in.
SE_DRM_STAT_CODE_NULL_REQUIRED_PARAMETER and no changes are made, if any parameter is NULL.
SE_DRM_STAT_CODE_FAILURE and no changes are made, if coord_ptr refers to an invalid dimensionality or spatial reference frame.


Parameters Notes


coord_ptr

 coordinate to be copied

fields_ptr

 pointer to SE_Fields to receive the output


Prev: SE_ConvertColourToGivenModel. Next: SE_ConvertFieldsToColourData. Up:Index.

Last updated: July 16, 2004 Copyright © 2004 SEDRIS