private RelativeVector3 Divide(float rhs) { RelativeVector3 ret = new RelativeVector3(NDalicPINVOKE.Vector3_Divide__SWIG_1(swigCPtr, rhs), true); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
/// <summary> /// Compares if the rhs is equal to. /// </summary> /// <param name="rhs">The vector to compare.</param> /// <returns>Returns true if the two vectors are equal, otherwise false.</returns> /// <since_tizen> 3 </since_tizen> public bool EqualTo(RelativeVector3 rhs) { bool ret = Interop.Vector3.EqualTo(SwigCPtr, RelativeVector3.getCPtr(rhs)); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
private RelativeVector3 Multiply(RelativeVector3 rhs) { RelativeVector3 ret = new RelativeVector3(NDalicPINVOKE.Vector3_Multiply__SWIG_0(swigCPtr, RelativeVector3.getCPtr(rhs)), true); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
/// <summary> /// </summary> internal static RelativeVector3 GetRelativeVector3FromPtr(global::System.IntPtr cPtr) { RelativeVector3 ret = new RelativeVector3(cPtr, false); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool Get(RelativeVector3 vectorValue) { bool ret = Interop.PropertyValue.GetVector3(SwigCPtr, RelativeVector3.getCPtr(vectorValue)); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
private RelativeVector3 Divide(RelativeVector3 rhs) { RelativeVector3 ret = new RelativeVector3(Interop.Vector3.Vector3_Divide__SWIG_0(swigCPtr, RelativeVector3.getCPtr(rhs)), true); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
private RelativeVector3 Multiply(float rhs) { RelativeVector3 ret = new RelativeVector3(Interop.Vector3.Vector3_Multiply__SWIG_1(swigCPtr, rhs), true); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
/// <summary> /// Determines whether the specified object is equal to the current object. /// </summary> /// <param name="obj">The object to compare with the current object.</param> /// <returns>true if the specified object is equal to the current object; otherwise, false.</returns> public override bool Equals(System.Object obj) { RelativeVector3 relativeVector3 = obj as RelativeVector3; bool equal = false; if (X == relativeVector3?.X && Y == relativeVector3?.Y && Z == relativeVector3?.Z) { equal = true; } return(equal); }
/// <summary> /// The subtraction operator. /// </summary> /// <param name="arg1">The vector to subtract.</param> /// <param name="arg2">The vector to subtract.</param> /// <returns>The vector containing the result of the subtraction.</returns> /// <since_tizen> 3 </since_tizen> public static RelativeVector3 operator -(RelativeVector3 arg1, RelativeVector3 arg2) { RelativeVector3 result = arg1.Subtract(arg2); return(ValueCheck(result)); }
/// <summary> /// The multiplication operator. /// </summary> /// <param name="arg1">The vector to multiply.</param> /// <param name="arg2">The float value to scale the vector.</param> /// <returns>The vector containing the result of the scaling.</returns> /// <since_tizen> 3 </since_tizen> public static RelativeVector3 operator *(RelativeVector3 arg1, float arg2) { RelativeVector3 result = arg1?.Multiply(arg2); return(result); }
/// <summary> /// The division operator. /// </summary> /// <param name="arg1">The vector to divide.</param> /// <param name="arg2">The float value to scale the vector by.</param> /// <returns>The vector containing the result of the scaling.</returns> /// <since_tizen> 3 </since_tizen> public static RelativeVector3 operator /(RelativeVector3 arg1, float arg2) { RelativeVector3 result = arg1?.Divide(arg2); return(result); }
/// <summary> /// The addition operator. /// </summary> /// <param name="arg1">The vector to add.</param> /// <param name="arg2">Th vector to add.</param> /// <returns>The vector containing the result of the addition.</returns> /// <since_tizen> 3 </since_tizen> public static RelativeVector3 operator +(RelativeVector3 arg1, RelativeVector3 arg2) { RelativeVector3 result = arg1?.Add(arg2); return(result); }
/// <summary> /// The subtraction operator. /// </summary> /// <param name="arg1">The vector to subtract.</param> /// <param name="arg2">The vector to subtract.</param> /// <returns>The vector containing the result of the subtraction.</returns> /// <since_tizen> 3 </since_tizen> public static RelativeVector3 operator -(RelativeVector3 arg1, RelativeVector3 arg2) { RelativeVector3 result = arg1?.Subtract(arg2); return(result); }
/// <summary> /// The constructor. /// </summary> /// <param name="relativeVector3">The RelativeVector3 to create this vector from.</param> /// <since_tizen> 3 </since_tizen> public RelativeVector4(RelativeVector3 relativeVector3) : this(NDalicPINVOKE.new_Vector4__SWIG_4(RelativeVector3.getCPtr(relativeVector3)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
/// <summary> /// The division operator. /// </summary> /// <param name="arg1">The vector to divide.</param> /// <param name="arg2">The float value to scale the vector by.</param> /// <returns>The vector containing the result of the scaling.</returns> /// <since_tizen> 3 </since_tizen> public static RelativeVector3 operator /(RelativeVector3 arg1, float arg2) { RelativeVector3 result = arg1.Divide(arg2); return(ValueCheck(result)); }
/// <summary> /// The constructor. /// </summary> /// <param name="relativeVector3">The RelativeVector3 to create this vector from.</param> /// <since_tizen> 3 </since_tizen> public RelativeVector2(RelativeVector3 relativeVector3) : this(Interop.Vector2.NewVector2WithVector3(RelativeVector3.getCPtr(relativeVector3)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RelativeVector3 obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.SwigCPtr); }
/// <summary> /// The addition operator. /// </summary> /// <param name="arg1">The vector to add.</param> /// <param name="arg2">Th vector to add.</param> /// <returns>The vector containing the result of the addition.</returns> /// <since_tizen> 3 </since_tizen> public static RelativeVector3 operator +(RelativeVector3 arg1, RelativeVector3 arg2) { RelativeVector3 result = arg1.Add(arg2); return(ValueCheck(result)); }
private RelativeVector3 Subtract(RelativeVector3 rhs) { RelativeVector3 ret = new RelativeVector3(Interop.Vector3.Subtract(SwigCPtr, RelativeVector3.getCPtr(rhs)), true); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
/// <summary> /// The multiplication operator. /// </summary> /// <param name="arg1">The vector to multiply.</param> /// <param name="arg2">The float value to scale the vector.</param> /// <returns>The vector containing the result of the scaling.</returns> /// <since_tizen> 3 </since_tizen> public static RelativeVector3 operator *(RelativeVector3 arg1, float arg2) { RelativeVector3 result = arg1.Multiply(arg2); return(ValueCheck(result)); }