public float V(RescueIJSurface face)
        {
            float myReturn = V12(nativeNdx
                                 , (face == null) ? 0 : face.nativeNdx);

            return(myReturn);
        }
        public bool SurfaceOnNode(RescueIJSurface surf)
        {
            bool myReturn = SurfaceOnNode13(nativeNdx
                                            , (surf == null) ? 0 : surf.nativeNdx);

            return(myReturn);
        }
        public bool DropIJSurface(RescueIJSurface toDrop)
        {
            bool myReturn = DropIJSurface22(nativeNdx
                                            , (toDrop == null) ? 0 : toDrop.nativeNdx);

            return(myReturn);
        }
Beispiel #4
0
        public bool RemoveFrom(RescueIJSurface existingObject)
        {
            bool myReturn = RemoveFrom3(nativeNdx
                                        , (existingObject == null) ? 0 : existingObject.nativeNdx);

            return(myReturn);
        }
 public void SetUVValue(RescueIJSurface face,
                        float u,
                        float v)
 {
     SetUVValue8(nativeNdx
                 , (face == null) ? 0 : face.nativeNdx
                 , u
                 , v);
 }
Beispiel #6
0
 public RescuePolyLineNodeUV(RescueContext context,
                             RescueIJSurface faceIn,
                             float u,
                             float v)
 {
     nativeNdx = Create_RescuePolyLineNodeUV0((context == null) ? 0 : context.nativeNdx,
                                              (faceIn == null) ? 0 : faceIn.nativeNdx,
                                              u,
                                              v);
 }
 public RescueWellboreSurface(RescueWellbore wellboreIn,
                              RescueIJSurface surfaceIn,
                              float uIn,
                              float vIn,
                              float mdIn)
 {
     nativeNdx = Create_RescueWellboreSurface0((wellboreIn == null) ? 0 : wellboreIn.nativeNdx,
                                               (surfaceIn == null) ? 0 : surfaceIn.nativeNdx,
                                               uIn,
                                               vIn,
                                               mdIn);
 }
Beispiel #8
0
        public RescueIJSurface Surface()
        {
            long returnNdx = Surface1(nativeNdx);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueIJSurface myReturn = new RescueIJSurface(returnNdx);
                return(myReturn);
            }
        }
        public RescueIJSurface NthFace(long zeroBasedOrdinal)
        {
            long returnNdx = NthFace10(nativeNdx
                                       , zeroBasedOrdinal);

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

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

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

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueIJSurface myReturn = new RescueIJSurface(returnNdx);
                return(myReturn);
            }
        }
Beispiel #13
0
 public RescueProperty(RescueSurface parentSurface,
                       string propertyNameIn,
                       string propertyTypeIn,
                       string unitOfMeasureIn,
                       int applies,
                       Rescue3dVector nullValue,
                       Rescue3dVector[] valueArray,
                       int attachedToIn,
                       RescueIJSurface parentIJSurface)
 {
     nativeNdx = Create_RescueProperty11((parentSurface == null) ? 0 : parentSurface.nativeNdx,
                                         propertyNameIn,
                                         propertyTypeIn,
                                         unitOfMeasureIn,
                                         applies,
                                         nullValue,
                                         valueArray,
                                         attachedToIn,
                                         (parentIJSurface == null) ? 0 : parentIJSurface.nativeNdx);
 }
Beispiel #14
0
 public RescueProperty(RescueSurface parentSurface,
                       string propertyNameIn,
                       string propertyTypeIn,
                       string unitOfMeasureIn,
                       int applies,
                       RescueLookup lookupTableIn,
                       char nullValue,
                       char[] valueArray,
                       int attachedToIn,
                       RescueIJSurface parentIJSurface)
 {
     nativeNdx = Create_RescueProperty9((parentSurface == null) ? 0 : parentSurface.nativeNdx,
                                        propertyNameIn,
                                        propertyTypeIn,
                                        unitOfMeasureIn,
                                        applies,
                                        (lookupTableIn == null) ? 0 : lookupTableIn.nativeNdx,
                                        nullValue,
                                        valueArray,
                                        attachedToIn,
                                        (parentIJSurface == null) ? 0 : parentIJSurface.nativeNdx);
 }
Beispiel #15
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);
            }
        }
Beispiel #16
0
 public void AddTo(RescueIJSurface newObject)
 {
     AddTo2(nativeNdx
            , (newObject == null) ? 0 : newObject.nativeNdx);
 }