Beispiel #1
0
 public RescueGeobodyPart(int orientation,
                          RescueGeobody parentBody,
                          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_RescueGeobodyPart2(orientation,
                                           (parentBody == null) ? 0 : parentBody.nativeNdx,
                                           i_origin,
                                           i_step,
                                           i_lowbound,
                                           i_count,
                                           j_origin,
                                           j_step,
                                           j_lowbound,
                                           j_count,
                                           k_lowbound,
                                           k_count,
                                           missingValue);
 }
Beispiel #2
0
        public RescueWireframeOwner Owner()
        {
            long returnNdx = Owner5(nativeNdx);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueWireframeOwner myReturn = new RescueWireframeOwner(returnNdx);
                int isA = myReturn.IsA();
                switch (isA)
                {
                case RescueObject.R_RescueBlockUnit:
                    myReturn = new RescueBlockUnit(returnNdx);
                    break;

                case RescueObject.R_RescueGeobody:
                    myReturn = new RescueGeobody(returnNdx);
                    break;

                case RescueObject.R_RescueSurface:
                    myReturn = new RescueSurface(returnNdx);
                    break;
                }
                return(myReturn);
            }
        }
        public bool RemoveFrom(RescueGeobody existingObject)
        {
            bool myReturn = RemoveFrom3(nativeNdx
                                        , (existingObject == null) ? 0 : existingObject.nativeNdx);

            return(myReturn);
        }
Beispiel #4
0
        public RescueGeobody ParentBody()
        {
            long returnNdx = ParentBody9(nativeNdx);

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

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

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

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueGeobody myReturn = new RescueGeobody(returnNdx);
                return(myReturn);
            }
        }
Beispiel #8
0
 public RescueGeobodyPart(int orientation,
                          RescueGeobody parentBody,
                          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,
                          RescueReferenceSurface topSurfaceIn,
                          float topOffsetIn,
                          RescueReferenceSurface bottomSurfaceIn,
                          float bottomOffsetIn)
 {
     nativeNdx = Create_RescueGeobodyPart3(orientation,
                                           (parentBody == null) ? 0 : parentBody.nativeNdx,
                                           i_origin,
                                           i_step,
                                           i_lowbound,
                                           i_count,
                                           j_origin,
                                           j_step,
                                           j_lowbound,
                                           j_count,
                                           k_lowbound,
                                           k_count,
                                           missingValue,
                                           (topSurfaceIn == null) ? 0 : topSurfaceIn.nativeNdx,
                                           topOffsetIn,
                                           (bottomSurfaceIn == null) ? 0 : bottomSurfaceIn.nativeNdx,
                                           bottomOffsetIn);
 }
Beispiel #9
0
 public RescueGeobodyPart(int orientation,
                          RescueGeobody parentBody,
                          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,
                          RescueReferenceSurface referenceSurfaceIn,
                          float referenceOffsetIn,
                          float thicknessIn,
                          int onOffLapIn)
 {
     nativeNdx = Create_RescueGeobodyPart4(orientation,
                                           (parentBody == null) ? 0 : parentBody.nativeNdx,
                                           i_origin,
                                           i_step,
                                           i_lowbound,
                                           i_count,
                                           j_origin,
                                           j_step,
                                           j_lowbound,
                                           j_count,
                                           k_lowbound,
                                           k_count,
                                           missingValue,
                                           (referenceSurfaceIn == null) ? 0 : referenceSurfaceIn.nativeNdx,
                                           referenceOffsetIn,
                                           thicknessIn,
                                           onOffLapIn);
 }
 public void AddTo(RescueGeobody newObject)
 {
     AddTo2(nativeNdx
            , (newObject == null) ? 0 : newObject.nativeNdx);
 }
Beispiel #11
0
 public RescueGeobodyPart(RescueGeobody parentBody)
 {
     nativeNdx = Create_RescueGeobodyPart0((parentBody == null) ? 0 : parentBody.nativeNdx);
 }