예제 #1
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 RescuePolyLine(RescueWireframeOwner ownerIn,
                       RescueTrimVertex leftVertexIn,
                       RescueTrimVertex rightVertexIn)
 {
     nativeNdx = Create_RescuePolyLine1((ownerIn == null) ? 0 : ownerIn.nativeNdx,
                                        (leftVertexIn == null) ? 0 : leftVertexIn.nativeNdx,
                                        (rightVertexIn == null) ? 0 : rightVertexIn.nativeNdx);
 }
 public RescueTrimVertex(RescueWireframeOwner ownerIn,
                         float x,
                         float y,
                         float z)
 {
     nativeNdx = Create_RescueTrimVertex1((ownerIn == null) ? 0 : ownerIn.nativeNdx,
                                          x,
                                          y,
                                          z);
 }
 public RescueTrimVertex(RescueWireframeOwner ownerIn,
                         double x,
                         double y,
                         double z)
 {
     nativeNdx = Create_RescueTrimVertex0((ownerIn == null) ? 0 : ownerIn.nativeNdx,
                                          x,
                                          y,
                                          z);
 }
예제 #5
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 RescueEdgeSet(RescueWireframeOwner ownerIn)
 {
     nativeNdx = Create_RescueEdgeSet0((ownerIn == null) ? 0 : ownerIn.nativeNdx);
 }
예제 #7
0
 public RescueTrimLoop(RescueWireframeOwner wireframeIn,
                       string loopClassIn)
 {
     nativeNdx = Create_RescueTrimLoop0((wireframeIn == null) ? 0 : wireframeIn.nativeNdx,
                                        loopClassIn);
 }