示例#1
0
        public bool RemoveRescueGeometry(RescueGeometry unitToDrop)
        {
            bool myReturn = RemoveRescueGeometry17(nativeNdx
                                                   , (unitToDrop == null) ? 0 : unitToDrop.nativeNdx);

            return(myReturn);
        }
示例#2
0
 public void ZStack(RescueGeometry geometry,
                    float[] newZValues)
 {
     ZStack11(nativeNdx
              , (geometry == null) ? 0 : geometry.nativeNdx
              , newZValues);
 }
示例#3
0
        public bool RemoveFrom(RescueGeometry existingObject)
        {
            bool myReturn = RemoveFrom3(nativeNdx
                                        , (existingObject == null) ? 0 : existingObject.nativeNdx);

            return(myReturn);
        }
示例#4
0
 public void CellIndex(RescueGeometry geometry,
                       long[] returnArray,
                       long returnArraySize)
 {
     CellIndex7(nativeNdx
                , (geometry == null) ? 0 : geometry.nativeNdx
                , returnArray
                , returnArraySize);
 }
示例#5
0
 public void ZStack(RescueGeometry geometry,
                    long direction,
                    float[] newZValues)
 {
     ZStack12(nativeNdx
              , (geometry == null) ? 0 : geometry.nativeNdx
              , direction
              , newZValues);
 }
 public void SetLayerValue(RescueGeometry geometry,
                           int layerType,
                           float layerNdxParam)
 {
     SetLayerValue21(nativeNdx
                     , (geometry == null) ? 0 : geometry.nativeNdx
                     , layerType
                     , layerNdxParam);
 }
 public RescueGeometryUnit(RescueGeometry parentGeometry,
                           RescueUnit relatedUnit,
                           int topLayerNdx,
                           int bottomLayerNdx)
 {
     nativeNdx = Create_RescueGeometryUnit0((parentGeometry == null) ? 0 : parentGeometry.nativeNdx,
                                            (relatedUnit == null) ? 0 : relatedUnit.nativeNdx,
                                            topLayerNdx,
                                            bottomLayerNdx);
 }
示例#8
0
 public void CellIndex(RescueGeometry geometry,
                       int[] returnArray,
                       int returnArraySize,
                       bool throwIfTooBig)
 {
     CellIndex3i(nativeNdx
                 , (geometry == null) ? 0 : geometry.nativeNdx
                 , returnArray
                 , returnArraySize
                 , throwIfTooBig);
 }
示例#9
0
 public RescueParametricLGRMap(RescueGeometry lgrGeometry,
                               long expectedRefined,
                               long expectedParent,
                               long refinedRealloc,
                               long parentRealloc)
 {
     nativeNdx = Create_RescueParametricLGRMap0((lgrGeometry == null) ? 0 : lgrGeometry.nativeNdx,
                                                expectedRefined,
                                                expectedParent,
                                                refinedRealloc,
                                                parentRealloc);
 }
 public RescueGeometryLGRList(RescueGeometry geometry,
                              bool byTimeStep,                 // TRUE if order of rows is by time step, by group, by geometry.
                                                               // FALSE for by group, by time step by geometry.  Of course,
                                                               // if you limit to a single group or time step this
                                                               // is immaterial.
                              RescuePropertyGroup nullOrGroup, // Non-null, limit to particular RescuePropertyGroup.
                              string nullOrTimeStepName)
 {
     nativeNdx = Create_RescueGeometryLGRList0((geometry == null) ? 0 : geometry.nativeNdx,
                                               byTimeStep,
                                               (nullOrGroup == null) ? 0 : nullOrGroup.nativeNdx,
                                               nullOrTimeStepName);
 }
 public RescueInterfaceSurfaceDesc(RescueGeometry lgrGeometry,
                                   bool isExteriorIn,
                                   long expectedFaces,
                                   long expectedCells,
                                   long facesRealloc,
                                   long cellsRealloc)
 {
     nativeNdx = Create_RescueInterfaceSurfaceDesc0((lgrGeometry == null) ? 0 : lgrGeometry.nativeNdx,
                                                    isExteriorIn,
                                                    expectedFaces,
                                                    expectedCells,
                                                    facesRealloc,
                                                    cellsRealloc);
 }
示例#12
0
        public RescueGeometry Geometry()
        {
            long returnNdx = Geometry0(nativeNdx);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueGeometry myReturn = new RescueGeometry(returnNdx);
                return(myReturn);
            }
        }
示例#13
0
        public RescueProperty GetProperty(RescueGeometry geometry, string name)
        {
            long returnNdx = GetProperty13a(nativeNdx, geometry.nativeNdx, name);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueProperty myReturn = new RescueProperty(returnNdx);
                return(myReturn);
            }
        }
示例#14
0
        public RescueGeometry ObjectIdentifiedBy(long identifier)
        {
            long returnNdx = ObjectIdentifiedBy7(nativeNdx
                                                 , identifier);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueGeometry myReturn = new RescueGeometry(returnNdx);
                return(myReturn);
            }
        }
        public RescueGeometry NthRowGeometry(long zeroBasedOrdinal)
        {
            long returnNdx = NthRowGeometry3(nativeNdx
                                             , zeroBasedOrdinal);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueGeometry myReturn = new RescueGeometry(returnNdx);
                return(myReturn);
            }
        }
示例#16
0
        public RescueGeometry NthObject(long ordinal)
        {
            long returnNdx = NthObject5(nativeNdx
                                        , ordinal);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueGeometry myReturn = new RescueGeometry(returnNdx);
                return(myReturn);
            }
        }
示例#17
0
        public RescueGeometry ObjectNamed(string nameIn)
        {
            long returnNdx = ObjectNamed6(nativeNdx
                                          , nameIn);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueGeometry myReturn = new RescueGeometry(returnNdx);
                return(myReturn);
            }
        }
        public RescueGeometry GeometryIdentifiedBy(int identifier)
        {
            long returnNdx = GeometryIdentifiedBy13(nativeNdx
                                                    , (long)identifier);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueGeometry myReturn = new RescueGeometry(returnNdx);
                return(myReturn);
            }
        }
示例#19
0
 public RescueProperty(RescueGeometry geometryIn,
                       string propertyNameIn,
                       string propertyTypeIn,
                       string unitOfMeasureIn,
                       Rescue3dVector nullValue,
                       Rescue3dVector[] valueArray,
                       int attachedToIn)
 {
     nativeNdx = Create_RescueProperty17((geometryIn == null) ? 0 : geometryIn.nativeNdx,
                                         propertyNameIn,
                                         propertyTypeIn,
                                         unitOfMeasureIn,
                                         nullValue,
                                         valueArray,
                                         attachedToIn);
 }
        public RescuePolyLineNodeBUG ParamOn(RescueGeometry geometry,
                                             int layerType)
        {
            long returnNdx = ParamOn24(nativeNdx
                                       , (geometry == null) ? 0 : geometry.nativeNdx
                                       , layerType);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescuePolyLineNodeBUG myReturn = new RescuePolyLineNodeBUG(returnNdx);
                return(myReturn);
            }
        }
示例#21
0
 public RescueProperty(RescueGeometry geometryIn,
                       string propertyNameIn,
                       string propertyTypeIn,
                       string unitOfMeasureIn,
                       RescueLookup lookupTableIn,
                       char nullValue,
                       char[] valueArray,
                       int attachedToIn)
 {
     nativeNdx = Create_RescueProperty15((geometryIn == null) ? 0 : geometryIn.nativeNdx,
                                         propertyNameIn,
                                         propertyTypeIn,
                                         unitOfMeasureIn,
                                         (lookupTableIn == null) ? 0 : lookupTableIn.nativeNdx,
                                         nullValue,
                                         valueArray,
                                         attachedToIn);
 }
示例#22
0
 public void AddTo(RescueGeometry newObject)
 {
     AddTo2(nativeNdx
            , (newObject == null) ? 0 : newObject.nativeNdx);
 }
示例#23
0
        public RescueHistoryObject NthObject(long ordinal)
        {
            long returnNdx = NthObject4(nativeNdx
                                        , ordinal);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueHistoryObject myReturn = new RescueHistoryObject(returnNdx);
                int isA = myReturn.IsA();
                switch (isA)
                {
                case RescueObject.R_RescueBlock:
                    myReturn = new RescueBlock(returnNdx);
                    break;

                case RescueObject.R_RescueBlockUnitSide:
                    myReturn = new RescueBlockUnitSide(returnNdx);
                    break;

                case RescueObject.R_RescueCoordinateSystem:
                    myReturn = new RescueCoordinateSystem(returnNdx);
                    break;

                case RescueObject.R_RescueDataContainer:
                    myReturn = new RescueDataContainer(returnNdx);
                    break;

                case RescueObject.R_RescueFaultIntersection:
                    myReturn = new RescueFaultIntersection(returnNdx);
                    break;

                case RescueObject.R_RescueGeobodyPart:
                    myReturn = new RescueGeobodyPart(returnNdx);
                    break;

                case RescueObject.R_RescueGeobodyVolume:
                    myReturn = new RescueGeobodyVolume(returnNdx);
                    break;

                case RescueObject.R_RescueGeometry:
                    myReturn = new RescueGeometry(returnNdx);
                    break;

                case RescueObject.R_RescueGrid:
                    myReturn = new RescueGrid(returnNdx);
                    break;

                case RescueObject.R_RescueHistory:
                    myReturn = new RescueHistory(returnNdx);
                    break;

                case RescueObject.R_RescueIJSurface:
                    myReturn = new RescueIJSurface(returnNdx);
                    break;

                case RescueObject.R_RescueLogicalOrder:
                    myReturn = new RescueLogicalOrder(returnNdx);
                    break;

                case RescueObject.R_RescueLogicalOrderEntry:
                    myReturn = new RescueLogicalOrderEntry(returnNdx);
                    break;

                case RescueObject.R_RescueLookup:
                    myReturn = new RescueLookup(returnNdx);
                    break;

                case RescueObject.R_RescueMacroVolume:
                    myReturn = new RescueMacroVolume(returnNdx);
                    break;

                case RescueObject.R_RescueModel:
                    myReturn = new RescueModel(returnNdx);
                    break;

                case RescueObject.R_RescueModelPropertyGroup:
                    myReturn = new RescueModelPropertyGroup(returnNdx);
                    break;

                case RescueObject.R_RescueProperty:
                    myReturn = new RescueProperty(returnNdx);
                    break;

                case RescueObject.R_RescuePropertyGroup:
                    myReturn = new RescuePropertyGroup(returnNdx);
                    break;

                case RescueObject.R_RescueTimeStepGroup:
                    myReturn = new RescueTimeStepGroup(returnNdx);
                    break;

                case RescueObject.R_RescueWellbore:
                    myReturn = new RescueWellbore(returnNdx);
                    break;

                case RescueObject.R_RescueWellboreProperty:
                    myReturn = new RescueWellboreProperty(returnNdx);
                    break;

                case RescueObject.R_RescueWireframe:
                    myReturn = new RescueWireframe(returnNdx);
                    break;

                case RescueObject.R_RescueWireframeOwner:
                    myReturn = new RescueWireframeOwner(returnNdx);
                    break;
                }
                return(myReturn);
            }
        }
示例#24
0
 public void AddGeometry(RescueGeometry toAdd)
 {
     AddGeometry15(nativeNdx, (toAdd == null) ? 0 : toAdd.nativeNdx);
 }
 public void AddGeometry(RescueGeometry newGeometry)
 {
     AddGeometry24(nativeNdx
                   , (newGeometry == null) ? 0 : newGeometry.nativeNdx);
 }
 public void DropGeometry(RescueGeometry toDrop)
 {
     DropGeometry25(nativeNdx
                    , (toDrop == null) ? 0 : toDrop.nativeNdx);
 }