|
Last change
on this file since 8681 was 8681, checked in by jschierm, 14 years ago |
|
Initial import of Xy2ll and Ll2xy module wrappers.
|
|
File size:
633 bytes
|
| Line | |
|---|
| 1 | /*!\file Xy2ll.h
|
|---|
| 2 | * \brief: prototype for x/y to lat/long coordinate mex module.
|
|---|
| 3 | */
|
|---|
| 4 |
|
|---|
| 5 | #ifndef _XY2LL_H
|
|---|
| 6 | #define _XY2LL_H
|
|---|
| 7 |
|
|---|
| 8 | /* local prototypes: */
|
|---|
| 9 | void Xy2llUsage(void);
|
|---|
| 10 |
|
|---|
| 11 | #include "../../c/modules/modules.h"
|
|---|
| 12 | #include "../../c/Container/Container.h"
|
|---|
| 13 | #include "../../c/shared/shared.h"
|
|---|
| 14 |
|
|---|
| 15 | #undef __FUNCT__
|
|---|
| 16 | #define __FUNCT__ "Xy2ll"
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 | /* serial input macros: */
|
|---|
| 20 | #define X_IN prhs[0]
|
|---|
| 21 | #define Y_IN prhs[1]
|
|---|
| 22 | #define SGN_IN prhs[2]
|
|---|
| 23 |
|
|---|
| 24 | /* serial output macros: */
|
|---|
| 25 | #define LAT_OUT (mxArray**)&plhs[0]
|
|---|
| 26 | #define LON_OUT (mxArray**)&plhs[1]
|
|---|
| 27 |
|
|---|
| 28 | /* serial arg counts: */
|
|---|
| 29 | #undef NRHS
|
|---|
| 30 | #define NRHS 3
|
|---|
| 31 | #undef NLHS
|
|---|
| 32 | #define NLHS 2
|
|---|
| 33 |
|
|---|
| 34 | #endif
|
|---|
| 35 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.