public bool CompareFace(RescueTriangulatedSurface toCompare)
        {
            bool myReturn = CompareFace5(nativeNdx
                                         , (toCompare == null) ? 0 : toCompare.nativeNdx);

            return(myReturn);
        }
        public long FaceNdx64(RescueTriangulatedSurface tSurf)
        {
            long myReturn = FaceNdx19(nativeNdx
                                      , (tSurf == null) ? 0 : tSurf.nativeNdx);

            return(myReturn);
        }
        public float V(RescueTriangulatedSurface tSurf)
        {
            float myReturn = V18(nativeNdx
                                 , (tSurf == null) ? 0 : tSurf.nativeNdx);

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

            return(myReturn);
        }
 public void SetUVValue(RescueTriangulatedSurface surface,
                        long faceNdx,
                        float u,
                        float v)
 {
     SetUVValue14(nativeNdx
                  , (surface == null) ? 0 : surface.nativeNdx
                  , faceNdx
                  , u
                  , v);
 }
 public RescuePolyLineNodeUVT(RescueContext context,
                              RescueTriangulatedSurface faceIn,
                              long faceNdxIn,
                              float u,
                              float v)
 {
     nativeNdx = Create_RescuePolyLineNodeUVT0((context == null) ? 0 : context.nativeNdx,
                                               (faceIn == null) ? 0 : faceIn.nativeNdx,
                                               faceNdxIn,
                                               u,
                                               v);
 }
        public RescueTriangulatedSurface TriangulatedSurface()
        {
            long returnNdx = TriangulatedSurface31(nativeNdx);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueTriangulatedSurface myReturn = new RescueTriangulatedSurface(returnNdx);
                return(myReturn);
            }
        }
        public RescueTriangulatedSurface SurfaceTriangulatedIdentifiedBy(long identifier)
        {
            long returnNdx = SurfaceTriangulatedIdentifiedBy9(nativeNdx
                                                              , identifier);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueTriangulatedSurface myReturn = new RescueTriangulatedSurface(returnNdx);
                return(myReturn);
            }
        }
        public RescueTriangulatedSurface Face(RescueModel model)
        {
            long returnNdx = Face6(nativeNdx
                                   , (model == null) ? 0 : model.nativeNdx);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueTriangulatedSurface myReturn = new RescueTriangulatedSurface(returnNdx);
                return(myReturn);
            }
        }
        public RescueTriangulatedSurface NthTSurf(RescueModel model,
                                                  long zeroBasedOrdinal)
        {
            long returnNdx = NthTSurf16(nativeNdx
                                        , (model == null) ? 0 : model.nativeNdx
                                        , zeroBasedOrdinal);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueTriangulatedSurface myReturn = new RescueTriangulatedSurface(returnNdx);
                return(myReturn);
            }
        }
        public RescueTriangulatedSurface CreateTriangulatedSurface(cSetRescueTriangleVertex verticesIn,
                                                                   cSetRescueTriangleFace facesIn)
        {
            long returnNdx = CreateTriangulatedSurface28(nativeNdx
                                                         , (verticesIn == null) ? 0 : verticesIn.nativeNdx
                                                         , (facesIn == null) ? 0 : facesIn.nativeNdx);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueTriangulatedSurface myReturn = new RescueTriangulatedSurface(returnNdx);
                return(myReturn);
            }
        }
Пример #12
0
 public RescueProperty(RescueTriangulatedSurface parentSurface,
                       string propertyNameIn,
                       string propertyTypeIn,
                       string unitOfMeasureIn,
                       int applies,
                       int nullValue,
                       int[] valueArray,
                       int attachedToIn)
 {
     nativeNdx = Create_RescueProperty1((parentSurface == null) ? 0 : parentSurface.nativeNdx,
                                        propertyNameIn,
                                        propertyTypeIn,
                                        unitOfMeasureIn,
                                        applies,
                                        nullValue,
                                        valueArray,
                                        attachedToIn);
 }
Пример #13
0
 public RescueProperty(RescueTriangulatedSurface parentSurface,
                       string propertyNameIn,
                       string propertyTypeIn,
                       string unitOfMeasureIn,
                       int applies,
                       RescueLookup lookupTableIn,
                       char nullValue,
                       char[] valueArray,
                       int attachedToIn)
 {
     nativeNdx = Create_RescueProperty3((parentSurface == null) ? 0 : parentSurface.nativeNdx,
                                        propertyNameIn,
                                        propertyTypeIn,
                                        unitOfMeasureIn,
                                        applies,
                                        (lookupTableIn == null) ? 0 : lookupTableIn.nativeNdx,
                                        nullValue,
                                        valueArray,
                                        attachedToIn);
 }
        public RescueTriangulatedSurface CreateTriangulatedSurface(int vertexCount,
                                                                   float[] coordinates,
                                                                   int faceCount,
                                                                   int[] faces)
        {
            long returnNdx = CreateTriangulatedSurface30i(nativeNdx
                                                          , vertexCount
                                                          , coordinates
                                                          , faceCount
                                                          , faces);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueTriangulatedSurface myReturn = new RescueTriangulatedSurface(returnNdx);
                return(myReturn);
            }
        }
Пример #15
0
 public RescueSOctTreeNode(RescueTriangulatedSurface parent,
                           float minX,
                           float maxX,
                           float minY,
                           float maxY,
                           float minZ,
                           float maxZ,
                           long xDivisions,
                           long yDivisions,
                           long zDivisions)
 {
     nativeNdx = Create_RescueSOctTreeNode0((parent == null) ? 0 : parent.nativeNdx,
                                            minX,
                                            maxX,
                                            minY,
                                            maxY,
                                            minZ,
                                            maxZ,
                                            xDivisions,
                                            yDivisions,
                                            zDivisions);
 }
 public int FaceNdx(RescueTriangulatedSurface tSurf, bool throwIfTooBig) //thro RuntimeException
 {
     return(RescueContext.Return32For64(FaceNdx(tSurf), throwIfTooBig));
 }
 public int FaceNdx(RescueTriangulatedSurface tSurf)
 {
     return((int)FaceNdx64(tSurf));
 }