namespace ElmSharp
{
/// <summary>
- /// The Point3D is a Struct that defining a 3-D point.
+ /// The Point3D is a struct that defines a 3D point.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public struct Point3D : IEquatable<Point3D>
{
/// <summary>
- /// The X coordinate of a 3D point.
+ /// The X-coordinate of a 3D point.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int X;
/// <summary>
- /// The Y coordinate of a 3D point.
+ /// The Y-coordinate of a 3D point.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Y;
/// <summary>
- /// The Z coordinate of a 3D point.
+ /// The Z-coordinate of a 3D point.
/// </summary>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public int Z;
+ /// <summary>
+ /// A human-readable representation of <see cref="Point3D"/>.
+ /// </summary>
+ /// <returns>The string is formatted as "{{X={0} Y={1} Z={2}}}".</returns>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override string ToString()
{
return string.Format("{{X={0} Y={1} Z={2}}}", X, Y, Z);
}
+ ///
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override int GetHashCode()
{
unchecked
}
}
+ /// <summary>
+ /// Indicates whether this instance and a specified object are equal.
+ /// </summary>
+ /// <param name="obj">The object to compare with the current instance.</param>
+ /// <returns>
+ /// true if the object and this instance are of the same type and represent the same value,
+ /// otherwise false.
+ /// </returns>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public override bool Equals(object obj)
{
if (!(obj is Point3D))
return Equals((Point3D)obj);
}
+ /// <summary>
+ /// Indicates whether this instance and a <see cref="Point3D"/> object are equal.
+ /// </summary>
+ /// <param name="other">The <see cref="Point3D"/> to compare with the current instance.</param>
+ /// <returns>
+ /// true if the object and this instance are of the same type and represent the same value.
+ /// otherwise, false.
+ /// </returns>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public bool Equals(Point3D other)
{
return X.Equals(other.X) && Y.Equals(other.Y) && Z.Equals(other.Z);
}
/// <summary>
- /// Whether the two <see cref="T:Tizen.UI.Point3D" />s are equal.
+ /// Whether both <see cref="Point3D"/>s are equal.
/// </summary>
- /// <param name="p1">A <see cref="T:Tizen.UI.Point3D" /> on the left hand side.</param>
- /// <param name="p2">A <see cref="T:Tizen.UI.Point3D" /> on the right hand side.</param>
- /// <returns>True if the two <see cref="T:Tizen.UI.Point3D" />s have equal values.</returns>
+ /// <param name="p1">A <see cref="Point3D"/> on the left hand side.</param>
+ /// <param name="p2">A <see cref="Point3D"/> on the right hand side.</param>
+ /// <returns>True if both <see cref="Point3D"/>s have equal values.</returns>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static bool operator ==(Point3D p1, Point3D p2)
{
return p1.Equals(p2);
}
/// <summary>
- /// Whether two <see cref="T:Tizen.UI.Point3D" />s are not equal.
+ /// Whether both <see cref="Point3D"/>s are not equal.
/// </summary>
- /// <param name="p1">A <see cref="T:Tizen.UI.Point3D" /> on the left hand side.</param>
- /// <param name="p2">A <see cref="T:Tizen.UI.Point3D" /> on the right hand side.</param>
- /// <returns>True if the two <see cref="T:Tizen.UI.Point3D" />s do not have equal values.</returns>
+ /// <param name="p1">A <see cref="Point3D"/> on the left hand side.</param>
+ /// <param name="p2">A <see cref="Point3D"/> on the right hand side.</param>
+ /// <returns>True if both <see cref="Point3D"/>s do not have equal values.</returns>
+ /// <since_tizen> preview </since_tizen>
+ [Obsolete("This has been deprecated in API12")]
public static bool operator !=(Point3D p1, Point3D p2)
{
return !p1.Equals(p2);
}
}
-}
+}
\ No newline at end of file