public PointVectorEnumerator(PointVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public PointVector(PointVector other) : this(delivery_modelPINVOKE.new_PointVector__SWIG_1(PointVector.getCPtr(other)), true) { if (delivery_modelPINVOKE.SWIGPendingException.Pending) { throw delivery_modelPINVOKE.SWIGPendingException.Retrieve(); } }
public PointVal(Vector3 point, PointVector[] shortArray) { this.point = point; this.shortArray = shortArray; this.killPoints = shortArray.Length; if(this.killPoints > maxKillPoints) maxKillPoints = this.killPoints; }
public void SetRange(int index, PointVector values) { delivery_modelPINVOKE.PointVector_SetRange(swigCPtr, index, PointVector.getCPtr(values)); if (delivery_modelPINVOKE.SWIGPendingException.Pending) { throw delivery_modelPINVOKE.SWIGPendingException.Retrieve(); } }
public BoxShape(EntityIdentifier identifier, PointSize size, Colour colour) { Identifier = identifier; this.colour = colour; bottomRight = size.ToVector(); Position = CCDirector.SharedDirector.WinSize.Center; GameMessenger.RegisterHandler <PhysicsBodyMoved>(Identifier, OnPhysicsBodyMoved); }
public static PointVector Repeat(Point value, int count) { global::System.IntPtr cPtr = delivery_modelPINVOKE.PointVector_Repeat(Point.getCPtr(value), count); PointVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new PointVector(cPtr, true); if (delivery_modelPINVOKE.SWIGPendingException.Pending) { throw delivery_modelPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PointVector GetRange(int index, int count) { global::System.IntPtr cPtr = delivery_modelPINVOKE.PointVector_GetRange(swigCPtr, index, count); PointVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new PointVector(cPtr, true); if (delivery_modelPINVOKE.SWIGPendingException.Pending) { throw delivery_modelPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PointVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public PointVector dock_points() { PointVector ret = new PointVector(delivery_modelPINVOKE.Rider_dock_points(swigCPtr), false); return(ret); }
private void AddVertex(StringBuilder sb, PointVector vec) { sb.AppendFormat(CultureInfo.InvariantCulture, "v {0:G} {1:G} {2:G}\n", vec.X * Scale, vec.Y * Scale, vec.Z * Scale); }