예제 #1
0
        public bool RemoveFrom(RescueDataContainer existingObject)
        {
            bool myReturn = RemoveFrom4(nativeNdx
                                        , (existingObject == null) ? 0 : existingObject.nativeNdx);

            return(myReturn);
        }
예제 #2
0
        public RescueDataContainer Container()
        {
            long returnNdx = Container29(nativeNdx);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueDataContainer myReturn = new RescueDataContainer(returnNdx);
                return(myReturn);
            }
        }
예제 #3
0
        public RescueDataContainer ObjectIdentifiedBy(long identifier)
        {
            long returnNdx = ObjectIdentifiedBy7(nativeNdx
                                                 , identifier);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueDataContainer myReturn = new RescueDataContainer(returnNdx);
                return(myReturn);
            }
        }
예제 #4
0
        public RescueDataContainer NthObject(long ordinal)
        {
            long returnNdx = NthObject6(nativeNdx
                                        , ordinal);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueDataContainer myReturn = new RescueDataContainer(returnNdx);
                return(myReturn);
            }
        }
예제 #5
0
        public static RescuePropertyGroup MakeRescuePropertyGroup(string groupNameIn,
                                                                  RescueModel modelIn,
                                                                  RescueDataContainer containerIn)
        {
            long returnNdx = MakeRescuePropertyGroup4(groupNameIn,
                                                      (modelIn == null) ? 0 : modelIn.nativeNdx,
                                                      (containerIn == null) ? 0 : containerIn.nativeNdx);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescuePropertyGroup myReturn = new RescuePropertyGroup(returnNdx);
                return(myReturn);
            }
        }
예제 #6
0
 public RescueProperty(RescueDataContainer containerIn,
                       RescueModel modelIn,
                       string propertyNameIn,
                       string propertyTypeIn,
                       string unitOfMeasureIn,
                       int applies,
                       Rescue3dVector nullValue,
                       Rescue3dVector[] valueArray,
                       int attachedToIn)
 {
     nativeNdx = Create_RescueProperty23((containerIn == null) ? 0 : containerIn.nativeNdx,
                                         (modelIn == null) ? 0 : modelIn.nativeNdx,
                                         propertyNameIn,
                                         propertyTypeIn,
                                         unitOfMeasureIn,
                                         applies,
                                         nullValue,
                                         valueArray,
                                         attachedToIn);
 }
예제 #7
0
 public RescueProperty(RescueDataContainer containerIn,
                       RescueModel modelIn,
                       string propertyNameIn,
                       string propertyTypeIn,
                       string unitOfMeasureIn,
                       int applies,
                       RescueLookup lookupTableIn,
                       byte nullValue,
                       byte[] valueArray,
                       int attachedToIn)
 {
     nativeNdx = Create_RescueProperty20((containerIn == null) ? 0 : containerIn.nativeNdx,
                                         (modelIn == null) ? 0 : modelIn.nativeNdx,
                                         propertyNameIn,
                                         propertyTypeIn,
                                         unitOfMeasureIn,
                                         applies,
                                         (lookupTableIn == null) ? 0 : lookupTableIn.nativeNdx,
                                         nullValue,
                                         valueArray,
                                         attachedToIn);
 }
예제 #8
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);
            }
        }
예제 #9
0
 public void AddTo(RescueDataContainer newObject)
 {
     AddTo3(nativeNdx
            , (newObject == null) ? 0 : newObject.nativeNdx);
 }