public VertexVector(VertexVector other) : this(SharpMochaPINVOKE.new_VertexVector__SWIG_1(VertexVector.getCPtr(other)), true) { if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } }
public VertexVectorEnumerator(VertexVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, VertexVector values) { SharpMochaPINVOKE.VertexVector_SetRange(swigCPtr, index, VertexVector.getCPtr(values)); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } }
public static VertexVector Repeat(Vertex value, int count) { global::System.IntPtr cPtr = SharpMochaPINVOKE.VertexVector_Repeat(Vertex.getCPtr(value), count); VertexVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new VertexVector(cPtr, true); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public VertexVector GetRange(int index, int count) { global::System.IntPtr cPtr = SharpMochaPINVOKE.VertexVector_GetRange(swigCPtr, index, count); VertexVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new VertexVector(cPtr, true); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public VertexVector GetVertices() { VertexVector ret = new VertexVector(SharpMochaPINVOKE.Mesh_GetVertices(swigCPtr), false); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VertexVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }