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);
 }
Esempio n. 2
0
        public RescueWireframeOwner Owner()
        {
            long returnNdx = Owner5(nativeNdx);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueWireframeOwner myReturn = new RescueWireframeOwner(returnNdx);
                int isA = myReturn.IsA();
                switch (isA)
                {
                case RescueObject.R_RescueBlockUnit:
                    myReturn = new RescueBlockUnit(returnNdx);
                    break;

                case RescueObject.R_RescueGeobody:
                    myReturn = new RescueGeobody(returnNdx);
                    break;

                case RescueObject.R_RescueSurface:
                    myReturn = new RescueSurface(returnNdx);
                    break;
                }
                return(myReturn);
            }
        }
        public RescueSurface ParentSurface()
        {
            long returnNdx = ParentSurface16(nativeNdx);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueSurface myReturn = new RescueSurface(returnNdx);
                int           isA      = myReturn.IsA();
                switch (isA)
                {
                case RescueObject.R_RescueReferenceSurface:
                    myReturn = new RescueReferenceSurface(returnNdx);
                    break;

                case RescueObject.R_RescueSection:
                    myReturn = new RescueSection(returnNdx);
                    break;
                }
                return(myReturn);
            }
        }
Esempio n. 4
0
 public void AddGeobodySurface(RescueSurface existingSurface,
                               int role)
 {
     AddGeobodySurface0(nativeNdx
                        , (existingSurface == null) ? 0 : existingSurface.nativeNdx
                        , role);
 }
 public RescueIJSurface(RescueSurface surfaceIn,
                        int orientation,
                        long i_lowbound,
                        long i_count,
                        long j_lowbound,
                        long j_count,
                        float missingValue)
 {
     nativeNdx = Create_RescueIJSurface2((surfaceIn == null) ? 0 : surfaceIn.nativeNdx,
                                         orientation,
                                         i_lowbound,
                                         i_count,
                                         j_lowbound,
                                         j_count,
                                         missingValue);
 }
Esempio n. 6
0
        public static RescuePropertyGroup MakeRescuePropertyGroup(string groupNameIn,
                                                                  RescueSurface surfaceIn)
        {
            long returnNdx = MakeRescuePropertyGroup2(groupNameIn,
                                                      (surfaceIn == null) ? 0 : surfaceIn.nativeNdx);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescuePropertyGroup myReturn = new RescuePropertyGroup(returnNdx);
                return(myReturn);
            }
        }
Esempio n. 7
0
 public RescueProperty(RescueSurface parentSurface,
                       string propertyNameIn,
                       string propertyTypeIn,
                       string unitOfMeasureIn,
                       int applies,
                       Rescue3dVector nullValue,
                       Rescue3dVector[] valueArray,
                       int attachedToIn,
                       RescueIJSurface parentIJSurface)
 {
     nativeNdx = Create_RescueProperty11((parentSurface == null) ? 0 : parentSurface.nativeNdx,
                                         propertyNameIn,
                                         propertyTypeIn,
                                         unitOfMeasureIn,
                                         applies,
                                         nullValue,
                                         valueArray,
                                         attachedToIn,
                                         (parentIJSurface == null) ? 0 : parentIJSurface.nativeNdx);
 }
Esempio n. 8
0
 public RescueProperty(RescueSurface parentSurface,
                       string propertyNameIn,
                       string propertyTypeIn,
                       string unitOfMeasureIn,
                       int applies,
                       RescueLookup lookupTableIn,
                       char nullValue,
                       char[] valueArray,
                       int attachedToIn,
                       RescueIJSurface parentIJSurface)
 {
     nativeNdx = Create_RescueProperty9((parentSurface == null) ? 0 : parentSurface.nativeNdx,
                                        propertyNameIn,
                                        propertyTypeIn,
                                        unitOfMeasureIn,
                                        applies,
                                        (lookupTableIn == null) ? 0 : lookupTableIn.nativeNdx,
                                        nullValue,
                                        valueArray,
                                        attachedToIn,
                                        (parentIJSurface == null) ? 0 : parentIJSurface.nativeNdx);
 }
Esempio n. 9
0
 public void DropGeobodySurface(RescueSurface existingSurface)
 {
     DropGeobodySurface1(nativeNdx
                         , (existingSurface == null) ? 0 : existingSurface.nativeNdx);
 }