public RescueIJSurface(RescueSurface surfaceIn,
                        int orientation,
                        RescueCoordinateSystemAxis i_axis,
                        float i_origin,
                        float i_step,
                        long i_lowbound,
                        long i_count,
                        RescueCoordinateSystemAxis j_axis,
                        float j_origin,
                        float j_step,
                        long j_lowbound,
                        long j_count,
                        float missingValue,
                        float[] values)
 {
     nativeNdx = Create_RescueIJSurface1((surfaceIn == null) ? 0 : surfaceIn.nativeNdx,
                                         orientation,
                                         (i_axis == null) ? 0 : i_axis.nativeNdx,
                                         i_origin,
                                         i_step,
                                         i_lowbound,
                                         i_count,
                                         (j_axis == null) ? 0 : j_axis.nativeNdx,
                                         j_origin,
                                         j_step,
                                         j_lowbound,
                                         j_count,
                                         missingValue,
                                         values);
 }
        public int NdxOf(RescueCoordinateSystemAxis axisIn)
        {
            int myReturn = NdxOf20(nativeNdx
                                   , (axisIn == null) ? 0 : axisIn.nativeNdx);

            return(myReturn);
        }
 public RescueGrid(RescueContext context,
                   int displayOrientationIn,
                   RescueCoordinateSystemAxis i_axis,
                   float i_origin,
                   float i_step,
                   long i_lowbound,
                   long i_count,
                   RescueCoordinateSystemAxis j_axis,
                   float j_origin,
                   float j_step,
                   long j_lowbound,
                   long j_count)
 {
     nativeNdx = Create_RescueGrid4((context == null) ? 0 : context.nativeNdx,
                                    displayOrientationIn,
                                    (i_axis == null) ? 0 : i_axis.nativeNdx,
                                    i_origin,
                                    i_step,
                                    i_lowbound,
                                    i_count,
                                    (j_axis == null) ? 0 : j_axis.nativeNdx,
                                    j_origin,
                                    j_step,
                                    j_lowbound,
                                    j_count);
 }
 public RescueSection(int orientation,
                      string newSectionName,
                      RescueModel modelIn,
                      int type,
                      RescueCoordinateSystemAxis i_axis,
                      float i_origin,
                      float i_step,
                      long i_lowbound,
                      long i_count,
                      RescueCoordinateSystemAxis j_axis,
                      float j_origin,
                      float j_step,
                      long j_lowbound,
                      long j_count,
                      float missingValue)
 {
     nativeNdx = Create_RescueSection4(orientation,
                                       newSectionName,
                                       (modelIn == null) ? 0 : modelIn.nativeNdx,
                                       type,
                                       (i_axis == null) ? 0 : i_axis.nativeNdx,
                                       i_origin,
                                       i_step,
                                       i_lowbound,
                                       i_count,
                                       (j_axis == null) ? 0 : j_axis.nativeNdx,
                                       j_origin,
                                       j_step,
                                       j_lowbound,
                                       j_count,
                                       missingValue);
 }
 public RescueSurface(RescueModel modelIn,
                      int orientation,
                      RescueCoordinateSystemAxis i_axis,
                      float i_origin,
                      float i_step,
                      long i_lowbound,
                      long i_count,
                      RescueCoordinateSystemAxis j_axis,
                      float j_origin,
                      float j_step,
                      long j_lowbound,
                      long j_count,
                      float missingValue,
                      int type)
 {
     nativeNdx = Create_RescueSurface0((modelIn == null) ? 0 : modelIn.nativeNdx,
                                       orientation,
                                       (i_axis == null) ? 0 : i_axis.nativeNdx,
                                       i_origin,
                                       i_step,
                                       i_lowbound,
                                       i_count,
                                       (j_axis == null) ? 0 : j_axis.nativeNdx,
                                       j_origin,
                                       j_step,
                                       j_lowbound,
                                       j_count,
                                       missingValue,
                                       type);
 }
Exemplo n.º 6
0
        public RescueCoordinateSystemAxis RelatedCoordinateSystemAxis()
        {
            long returnNdx = RelatedCoordinateSystemAxis4(nativeNdx);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueCoordinateSystemAxis myReturn = new RescueCoordinateSystemAxis(returnNdx);
                return(myReturn);
            }
        }
        public RescueCoordinateSystemAxis Axis(int zeroBasedOrdinal)
        {
            long returnNdx = Axis2(nativeNdx
                                   , zeroBasedOrdinal);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueCoordinateSystemAxis myReturn = new RescueCoordinateSystemAxis(returnNdx);
                return(myReturn);
            }
        }
        public RescueCoordinateSystemAxis AxisIdentifiedBy(long identifier)
        {
            long returnNdx = AxisIdentifiedBy3(nativeNdx
                                               , identifier);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueCoordinateSystemAxis myReturn = new RescueCoordinateSystemAxis(returnNdx);
                return(myReturn);
            }
        }