public RescueBlockUnit(int orientation,
                        RescueBlock parentBlock,
                        RescueUnit parentUnit,
                        float i_origin,
                        float i_step,
                        long i_lowbound,
                        long i_count,
                        float j_origin,
                        float j_step,
                        long j_lowbound,
                        long j_count,
                        long k_lowbound,
                        long k_count,
                        float missingValue)
 {
     nativeNdx = Create_RescueBlockUnit2(orientation,
                                         (parentBlock == null) ? 0 : parentBlock.nativeNdx,
                                         (parentUnit == null) ? 0 : parentUnit.nativeNdx,
                                         i_origin,
                                         i_step,
                                         i_lowbound,
                                         i_count,
                                         j_origin,
                                         j_step,
                                         j_lowbound,
                                         j_count,
                                         k_lowbound,
                                         k_count,
                                         missingValue);
 }
Exemple #2
0
        public bool RemoveFrom(RescueUnit existingObject)
        {
            bool myReturn = RemoveFrom3(nativeNdx
                                        , (existingObject == null) ? 0 : existingObject.nativeNdx);

            return(myReturn);
        }
Exemple #3
0
        public RescueLogicalOrderEntry NthObject(long zeroBasedOrdinal)
        {
            long returnNdx = NthObject1(nativeNdx
                                        , zeroBasedOrdinal);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueLogicalOrderEntry myReturn = new RescueLogicalOrderEntry(returnNdx);
                int isA = myReturn.IsA();
                switch (isA)
                {
                case RescueObject.R_RescueEventDescr:
                    myReturn = new RescueEventDescr(returnNdx);
                    break;

                case RescueObject.R_RescueHorizon:
                    myReturn = new RescueHorizon(returnNdx);
                    break;

                case RescueObject.R_RescueUnit:
                    myReturn = new RescueUnit(returnNdx);
                    break;
                }
                return(myReturn);
            }
        }
Exemple #4
0
        public RescueLogicalOrderEntry UnconformityEventBelow(RescueEventDescr existingObject)
        {
            long returnNdx = UnconformityEventBelow16(nativeNdx
                                                      , (existingObject == null) ? 0 : existingObject.nativeNdx);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueLogicalOrderEntry myReturn = new RescueLogicalOrderEntry(returnNdx);
                int isA = myReturn.IsA();
                switch (isA)
                {
                case RescueObject.R_RescueEventDescr:
                    myReturn = new RescueEventDescr(returnNdx);
                    break;

                case RescueObject.R_RescueHorizon:
                    myReturn = new RescueHorizon(returnNdx);
                    break;

                case RescueObject.R_RescueUnit:
                    myReturn = new RescueUnit(returnNdx);
                    break;
                }
                return(myReturn);
            }
        }
 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);
 }
        public RescueUnit Unit()
        {
            long returnNdx = Unit6(nativeNdx);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueUnit myReturn = new RescueUnit(returnNdx);
                return(myReturn);
            }
        }
Exemple #7
0
        public RescueBlockUnit BlockUnitForUnit(RescueUnit unitToFind)
        {
            long returnNdx = BlockUnitForUnit8(nativeNdx
                                               , (unitToFind == null) ? 0 : unitToFind.nativeNdx);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueBlockUnit myReturn = new RescueBlockUnit(returnNdx);
                return(myReturn);
            }
        }
Exemple #8
0
        public RescueUnit NthUnit(long zeroBasedOrdinal)
        {
            long returnNdx = NthUnit3(nativeNdx
                                      , zeroBasedOrdinal);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueUnit myReturn = new RescueUnit(returnNdx);
                return(myReturn);
            }
        }
Exemple #9
0
        public RescueUnit UnitBelow(RescueLogicalOrderEntry existingObject)
        {
            long returnNdx = UnitBelow12(nativeNdx
                                         , (existingObject == null) ? 0 : existingObject.nativeNdx);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueUnit myReturn = new RescueUnit(returnNdx);
                return(myReturn);
            }
        }
Exemple #10
0
        public RescueUnit ObjectIdentifiedBy(long identifier)
        {
            long returnNdx = ObjectIdentifiedBy7(nativeNdx
                                                 , identifier);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueUnit myReturn = new RescueUnit(returnNdx);
                return(myReturn);
            }
        }
Exemple #11
0
        public RescueUnit ObjectNamed(string nameIn)
        {
            long returnNdx = ObjectNamed6(nativeNdx
                                          , nameIn);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueUnit myReturn = new RescueUnit(returnNdx);
                return(myReturn);
            }
        }
Exemple #12
0
        public RescueUnit NthObject(long ordinal)
        {
            long returnNdx = NthObject5(nativeNdx
                                        , ordinal);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueUnit myReturn = new RescueUnit(returnNdx);
                return(myReturn);
            }
        }
Exemple #13
0
        public RescueUnit NthUnit(RescueModel model,
                                  long zeroBasedOrdinal)
        {
            long returnNdx = NthUnit7(nativeNdx
                                      , (model == null) ? 0 : model.nativeNdx
                                      , zeroBasedOrdinal);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueUnit myReturn = new RescueUnit(returnNdx);
                return(myReturn);
            }
        }
 public RescueBlockUnit(int orientation,
                        RescueBlock parentBlock,
                        RescueUnit parentUnit,
                        float i_origin,
                        float i_step,
                        int i_lowbound,
                        int i_count,
                        float j_origin,
                        float j_step,
                        int j_lowbound,
                        int j_count,
                        int k_lowbound,
                        int k_count,
                        float missingValue,
                        RescueReferenceSurface referenceSurfaceIn,
                        float referenceOffsetIn,
                        float thicknessIn,
                        int onOffLapIn)
 {
     nativeNdx = Create_RescueBlockUnit4(orientation,
                                         (parentBlock == null) ? 0 : parentBlock.nativeNdx,
                                         (parentUnit == null) ? 0 : parentUnit.nativeNdx,
                                         i_origin,
                                         i_step,
                                         (long)i_lowbound,
                                         (long)i_count,
                                         j_origin,
                                         j_step,
                                         (long)j_lowbound,
                                         (long)j_count,
                                         (long)k_lowbound,
                                         (long)k_count,
                                         missingValue,
                                         (referenceSurfaceIn == null) ? 0 : referenceSurfaceIn.nativeNdx,
                                         referenceOffsetIn,
                                         thicknessIn,
                                         onOffLapIn);
 }
 public RescueBlockUnit(int orientation,
                        RescueBlock parentBlock,
                        RescueUnit parentUnit,
                        float i_origin,
                        float i_step,
                        int i_lowbound,
                        int i_count,
                        float j_origin,
                        float j_step,
                        int j_lowbound,
                        int j_count,
                        int k_lowbound,
                        int k_count,
                        float missingValue,
                        RescueReferenceSurface topSurfaceIn,
                        float topOffsetIn,
                        RescueReferenceSurface bottomSurfaceIn,
                        float bottomOffsetIn)
 {
     nativeNdx = Create_RescueBlockUnit3(orientation,
                                         (parentBlock == null) ? 0 : parentBlock.nativeNdx,
                                         (parentUnit == null) ? 0 : parentUnit.nativeNdx,
                                         i_origin,
                                         i_step,
                                         (long)i_lowbound,
                                         (long)i_count,
                                         j_origin,
                                         j_step,
                                         (long)j_lowbound,
                                         (long)j_count,
                                         (long)k_lowbound,
                                         (long)k_count,
                                         missingValue,
                                         (topSurfaceIn == null) ? 0 : topSurfaceIn.nativeNdx,
                                         topOffsetIn,
                                         (bottomSurfaceIn == null) ? 0 : bottomSurfaceIn.nativeNdx,
                                         bottomOffsetIn);
 }
Exemple #16
0
 public void AddUnit(RescueUnit toAdd)
 {
     AddUnit3(nativeNdx
              , (toAdd == null) ? 0 : toAdd.nativeNdx);
 }
Exemple #17
0
 public void DeleteUnit(RescueUnit toDelete)
 {
     DeleteUnit4(nativeNdx
                 , (toDelete == null) ? 0 : toDelete.nativeNdx);
 }
 public RescueBlockUnit(RescueBlock parentBlock,
                        RescueUnit parentUnit)
 {
     nativeNdx = Create_RescueBlockUnit0((parentBlock == null) ? 0 : parentBlock.nativeNdx,
                                         (parentUnit == null) ? 0 : parentUnit.nativeNdx);
 }
 public void SetRelatedUnit(RescueUnit unitIn)
 {
     SetRelatedUnit2(nativeNdx
                     , (unitIn == null) ? 0 : unitIn.nativeNdx);
 }
Exemple #20
0
 public void AddTo(RescueUnit newObject)
 {
     AddTo2(nativeNdx
            , (newObject == null) ? 0 : newObject.nativeNdx);
 }