The SEDRIS Data Representation Model
APPENDIX D - Functions
SE ConvertCoordinateToFields
extern SE_DRM_Status_Code
SE_ConvertCoordinateToFields
(
constSRM_Coordinate *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: May 15, 2003 Copyright © 2003 SEDRIS™