public bool RemoveGroup(RescuePropertyGroup groupToDrop)
        {
            bool myReturn = RemoveGroup8(nativeNdx
                                         , (groupToDrop == null) ? 0 : groupToDrop.nativeNdx);

            return(myReturn);
        }
コード例 #2
0
        public bool DeletePropertyGroup(RescuePropertyGroup group)
        {
            bool myReturn = DeletePropertyGroup26(nativeNdx
                                                  , (group == null) ? 0 : group.nativeNdx);

            return(myReturn);
        }
コード例 #3
0
        public bool DeletePropertyGroup(RescuePropertyGroup existingPropertyGroup)
        {
            bool myReturn = DeletePropertyGroup19(nativeNdx
                                                  , (existingPropertyGroup == null) ? 0 : existingPropertyGroup.nativeNdx);

            return(myReturn);
        }
コード例 #4
0
        public bool RemoveFrom(RescuePropertyGroup existingObject)
        {
            bool myReturn = RemoveFrom3(nativeNdx
                                        , (existingObject == null) ? 0 : existingObject.nativeNdx);

            return(myReturn);
        }
コード例 #5
0
        public bool DropRescuePropertyGroup(RescuePropertyGroup unitToDrop)
        {
            bool myReturn = DropRescuePropertyGroup8(nativeNdx
                                                     , (unitToDrop == null) ? 0 : unitToDrop.nativeNdx);

            return(myReturn);
        }
 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);
 }
コード例 #7
0
        public RescuePropertyGroup ParentGroup()
        {
            long returnNdx = ParentGroup4(nativeNdx);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescuePropertyGroup myReturn = new RescuePropertyGroup(returnNdx);
                return(myReturn);
            }
        }
コード例 #8
0
        public RescuePropertyGroup NthObject(long ordinal)
        {
            long returnNdx = NthObject5(nativeNdx
                                        , ordinal);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescuePropertyGroup myReturn = new RescuePropertyGroup(returnNdx);
                return(myReturn);
            }
        }
コード例 #9
0
        public RescuePropertyGroup PropertyGroupIdentifiedBy(int identifier)
        {
            long returnNdx = PropertyGroupIdentifiedBy7(nativeNdx
                                                        , (long)identifier);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescuePropertyGroup myReturn = new RescuePropertyGroup(returnNdx);
                return(myReturn);
            }
        }
コード例 #10
0
        public RescuePropertyGroup ObjectNamed(string nameIn)
        {
            long returnNdx = ObjectNamed6(nativeNdx
                                          , nameIn);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescuePropertyGroup myReturn = new RescuePropertyGroup(returnNdx);
                return(myReturn);
            }
        }
コード例 #11
0
        public RescuePropertyGroup ObjectIdentifiedBy(long identifier)
        {
            long returnNdx = ObjectIdentifiedBy7(nativeNdx
                                                 , identifier);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescuePropertyGroup myReturn = new RescuePropertyGroup(returnNdx);
                return(myReturn);
            }
        }
コード例 #12
0
        public RescuePropertyGroup NthRescuePropertyGroup(int zeroBasedOrdinal)
        {
            long returnNdx = NthRescuePropertyGroup6(nativeNdx
                                                     , (long)zeroBasedOrdinal);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescuePropertyGroup myReturn = new RescuePropertyGroup(returnNdx);
                return(myReturn);
            }
        }
コード例 #13
0
        public static RescuePropertyGroup MakeRescuePropertyGroup(string groupNameIn,
                                                                  RescueBlockUnit blockUnitIn)
        {
            long returnNdx = MakeRescuePropertyGroup0(groupNameIn,
                                                      (blockUnitIn == null) ? 0 : blockUnitIn.nativeNdx);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescuePropertyGroup myReturn = new RescuePropertyGroup(returnNdx);
                return(myReturn);
            }
        }
コード例 #14
0
        public static RescuePropertyGroup MakeRescuePropertyGroup(string groupNameIn,
                                                                  RescueGeobodyPart partIn)
        {
            long returnNdx = MakeRescuePropertyGroup1(groupNameIn,
                                                      (partIn == null) ? 0 : partIn.nativeNdx);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescuePropertyGroup myReturn = new RescuePropertyGroup(returnNdx);
                return(myReturn);
            }
        }
コード例 #15
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);
            }
        }
コード例 #16
0
        public static RescuePropertyGroup MakeRescuePropertyGroup(string groupNameIn,
                                                                  RescueModel modelIn)
        {
            long returnNdx = MakeRescuePropertyGroup3(groupNameIn,
                                                      (modelIn == null) ? 0 : modelIn.nativeNdx);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescuePropertyGroup myReturn = new RescuePropertyGroup(returnNdx);
                return(myReturn);
            }
        }
コード例 #17
0
 public void AddPropertyGroup(RescuePropertyGroup existingPropertyGroup)
 {
     AddPropertyGroup18(nativeNdx
                        , (existingPropertyGroup == null) ? 0 : existingPropertyGroup.nativeNdx);
 }
コード例 #18
0
 public RescueTimeStepGroup(string timeStepNameIn,
                            RescuePropertyGroup groupIn)
 {
     nativeNdx = Create_RescueTimeStepGroup0(timeStepNameIn,
                                             (groupIn == null) ? 0 : groupIn.nativeNdx);
 }
コード例 #19
0
 public void AddTo(RescuePropertyGroup newObject)
 {
     AddTo2(nativeNdx
            , (newObject == null) ? 0 : newObject.nativeNdx);
 }
コード例 #20
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);
            }
        }
 public void AddGroup(RescuePropertyGroup toAdd)
 {
     AddGroup6(nativeNdx
               , (toAdd == null) ? 0 : toAdd.nativeNdx);
 }