private Position2D Add(Position2D rhs) { Position2D ret = new Position2D(NDalicPINVOKE.Vector2_Add(swigCPtr, Position2D.getCPtr(rhs)), true); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
/// <summary> /// Compares if the rhs is not equal to. /// </summary> /// <param name="rhs">The vector to compare.</param> /// <returns>Returns true if the two vectors are not equal, otherwise false.</returns> /// <since_tizen> 3 </since_tizen> public bool NotEqualTo(Position2D rhs) { bool ret = NDalicPINVOKE.Vector2_NotEqualTo(swigCPtr, Position2D.getCPtr(rhs)); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
/// <summary> /// Retrieves a Position2D value. /// </summary> /// <param name="vectorValue"> On return, a Position2D value.</param> /// <since_tizen> 3 </since_tizen> public bool Get(Position2D vectorValue) { bool ret = Interop.PropertyValue.GetVector2(swigCPtr, Position2D.getCPtr(vectorValue)); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
private Position2D Divide(Position2D rhs) { Position2D ret = new Position2D(Interop.Vector2.Divide(SwigCPtr, Position2D.getCPtr(rhs)), true); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
private Position2D Multiply(Position2D rhs) { Position2D ret = new Position2D(Interop.Vector2.Vector2_Multiply__SWIG_0(swigCPtr, Position2D.getCPtr(rhs)), true); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
/// <summary> /// The constructor. /// </summary> /// <param name="position2d">Position2D to create this vector from.</param> /// <since_tizen> 3 </since_tizen> public Position(Position2D position2d) : this(Interop.Vector3.new_Vector3__SWIG_3(Position2D.getCPtr(position2d)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
/// <summary> /// Creates a Position2D property value. /// </summary> /// <param name="vectorValue">Position2D values.</param> /// <since_tizen> 3 </since_tizen> public PropertyValue(Position2D vectorValue) : this(Interop.PropertyValue.NewPropertyValueVector2(Position2D.getCPtr(vectorValue)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }