The SEDRIS Data Representation Model
APPENDIX D - Functions
SE ConvertCoordinateToFields
extern SE_DRM_Status_Code
SE_ConvertCoordinateToFields
(
constSRM_Coordinate *coord_ptr,1
SE_DRM_Class_Fields *fields_ptr2
);

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

1 coordinate to be copied

2 pointer to SE_DRM_Class_Fields to receive the output


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

Last updated: July 26, 2006 Copyright © 2006 SEDRIS