示例#1
0
        public bool RemoveRescueProperty(RescueProperty unitToDrop)
        {
            bool myReturn = RemoveRescueProperty8(nativeNdx
                                                  , (unitToDrop == null) ? 0 : unitToDrop.nativeNdx);

            return(myReturn);
        }
        public bool DropRescueProperty(RescueProperty unitToDrop)
        {
            bool myReturn = DropRescueProperty17(nativeNdx
                                                 , (unitToDrop == null) ? 0 : unitToDrop.nativeNdx);

            return(myReturn);
        }
示例#3
0
        public bool RemoveFrom(RescueProperty existingObject)
        {
            bool myReturn = RemoveFrom3(nativeNdx
                                        , (existingObject == null) ? 0 : existingObject.nativeNdx);

            return(myReturn);
        }
示例#4
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);
            }
        }
 public RescueProperty PropertyNamed(string name)
 {
   long returnNdx = PropertyNamed6(nativeNdx
                                   ,name);
   if (returnNdx == 0)
   {
     return null;
   }
   else
   {
     RescueProperty myReturn = new RescueProperty(returnNdx);
     return myReturn;
   }
 }
 public RescueProperty NthObject(long ordinal)
 {
   long returnNdx = NthObject4(nativeNdx
                               ,ordinal);
   if (returnNdx == 0)
   {
     return null;
   }
   else
   {
     RescueProperty myReturn = new RescueProperty(returnNdx);
     return myReturn;
   }
 }
        public RescueProperty PropertyIdentifiedBy(int identifier)
        {
            long returnNdx = PropertyIdentifiedBy14(nativeNdx
                                                    , (long)identifier);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueProperty myReturn = new RescueProperty(returnNdx);
                return(myReturn);
            }
        }
        public RescueProperty NthRescueProperty(int zeroBasedOrdinal)
        {
            long returnNdx = NthRescueProperty5(nativeNdx
                                                , (long)zeroBasedOrdinal);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueProperty myReturn = new RescueProperty(returnNdx);
                return(myReturn);
            }
        }
        public RescueProperty PropertyIdentifiedBy(long id)
        {
            long returnNdx = PropertyIdentifiedBy36(nativeNdx
                                                    , id);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueProperty myReturn = new RescueProperty(returnNdx);
                return(myReturn);
            }
        }
示例#10
0
        public RescueProperty OwnerProperty(RescueModel model)
        {
            long returnNdx = OwnerProperty4(nativeNdx
                                            , (model == null) ? 0 : model.nativeNdx);

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

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

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueProperty myReturn = new RescueProperty(returnNdx);
                return(myReturn);
            }
        }
示例#13
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);
            }
        }
示例#14
0
 public void AddProperty(RescueProperty toAdd)
 {
     AddProperty6(nativeNdx, (toAdd == null) ? 0 : toAdd.nativeNdx);
 }
 public void AddTo(RescueProperty newObject)
 {
   AddTo2(nativeNdx
              ,(newObject == null) ? 0 : newObject.nativeNdx);
 }
示例#16
0
 public void Relinquish(RescueProperty existingObject)
 {
     Relinquish15(nativeNdx
                  , (existingObject == null) ? 0 : existingObject.nativeNdx);
 }