public RescueTripletArray(RescueGrid existingGrid,
                           float missingValueIn,
                           float[] valueArray,
                           RescueModel parentModelIn)
 {
     nativeNdx = Create_RescueTripletArray1((existingGrid == null) ? 0 : existingGrid.nativeNdx,
                                            missingValueIn,
                                            valueArray,
                                            (parentModelIn == null) ? 0 : parentModelIn.nativeNdx);
 }
 public RescueTripletArray(RescueContext context,
                           RescueGrid existingGrid,
                           float missingValueIn,
                           RescueModel parentModelIn)
 {
     nativeNdx = Create_RescueTripletArray0((context == null) ? 0 : context.nativeNdx,
                                            (existingGrid == null) ? 0 : existingGrid.nativeNdx,
                                            missingValueIn,
                                            (parentModelIn == null) ? 0 : parentModelIn.nativeNdx);
 }
        public RescueGrid Grid()
        {
            long returnNdx = Grid4(nativeNdx);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueGrid myReturn = new RescueGrid(returnNdx);
                return(myReturn);
            }
        }
        public RescueGrid PropertyGrid()
        {
            long returnNdx = PropertyGrid2(nativeNdx);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueGrid myReturn = new RescueGrid(returnNdx);
                return(myReturn);
            }
        }
        public RescueGrid BlockUnitGrid(long zeroBasedOrdinal)
        {
            long returnNdx = BlockUnitGrid21(nativeNdx
                                             , zeroBasedOrdinal);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueGrid myReturn = new RescueGrid(returnNdx);
                return(myReturn);
            }
        }
Esempio n. 6
0
        public RescueGrid Grid(int howAttached)
        {
            long returnNdx = Grid12(nativeNdx
                                    , howAttached);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueGrid myReturn = new RescueGrid(returnNdx);
                return(myReturn);
            }
        }
Esempio n. 7
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 RescueDataContainer(RescueModel model,
                            RescueGrid customGrid)
 {
     nativeNdx = Create_RescueDataContainer0((model == null) ? 0 : model.nativeNdx,
                                             (customGrid == null) ? 0 : customGrid.nativeNdx);
 }