Esempio n. 1
0
        public bool Contains(RescueTriangleVertex vertex)
        {
            bool myReturn = Contains15(nativeNdx
                                       , (vertex == null) ? 0 : vertex.nativeNdx);

            return(myReturn);
        }
Esempio n. 2
0
        public bool RemoveFrom(RescueTriangleVertex existingObject)
        {
            bool myReturn = RemoveFrom3(nativeNdx
                                        , (existingObject == null) ? 0 : existingObject.nativeNdx);

            return(myReturn);
        }
        public long IndexOf(RescueTriangleVertex existingObject)
        {
            long myReturn = IndexOf11(nativeNdx
                                      , (existingObject == null) ? 0 : existingObject.nativeNdx);

            return(myReturn);
        }
Esempio n. 4
0
        public bool DropVertex(RescueTriangleVertex toDrop)
        {
            bool myReturn = DropVertex10(nativeNdx
                                         , (toDrop == null) ? 0 : toDrop.nativeNdx);

            return(myReturn);
        }
 public RescueTriangleFace(RescueTriangleVertex v1,
                           RescueTriangleVertex v2,
                           RescueTriangleVertex v3)
 {
     nativeNdx = Create_RescueTriangleFace0((v1 == null) ? 0 : v1.nativeNdx,
                                            (v2 == null) ? 0 : v2.nativeNdx,
                                            (v3 == null) ? 0 : v3.nativeNdx);
 }
Esempio n. 6
0
        public RescueTriangleVertex NthObject(long ordinal)
        {
            long returnNdx = NthObject4(nativeNdx
                                        , ordinal);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueTriangleVertex myReturn = new RescueTriangleVertex(returnNdx);
                return(myReturn);
            }
        }
Esempio n. 7
0
        public RescueTriangleVertex NthVertex(long zeroBasedOrdinal)
        {
            long returnNdx = NthVertex1(nativeNdx
                                        , zeroBasedOrdinal);

            if (returnNdx == 0)
            {
                return(null);
            }
            else
            {
                RescueTriangleVertex myReturn = new RescueTriangleVertex(returnNdx);
                return(myReturn);
            }
        }
Esempio n. 8
0
 public void AddTo(RescueTriangleVertex newObject)
 {
     AddTo2(nativeNdx
            , (newObject == null) ? 0 : newObject.nativeNdx);
 }
 public RescueTriangleFace(RescueTriangleVertex v)
 {
     nativeNdx = Create_RescueTriangleFace1((v == null) ? 0 : v.nativeNdx);
 }
Esempio n. 10
0
 public void AddVertex(RescueTriangleVertex toAdd)
 {
     AddVertex8(nativeNdx
                , (toAdd == null) ? 0 : toAdd.nativeNdx);
 }