Point3D
Represents a mutable three-dimensional coordinate used by carousel paths. The path implementation interprets the coordinates; for example, it uses X and Y for position and may use Z for scaling, stacking order, or opacity.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
[TypeConverter(typeof(Point3DConverter))]
public class Point3D
Inheritance: objectPoint3D
Constructors
Initializes a point at the origin.
public Point3D()
Creates a point from the two-dimensional coordinates, setting Z to zero.
Creates an independent copy of another point.
Creates a point from the two-dimensional coordinates, setting Z to zero.
Fields
Properties
Methods
Adds another point's coordinates to this point.
Divides each coordinate by the specified coefficient without checking for zero.
Combines the integer conversions of the coordinates with XOR; distinct points can produce the same hash code.
public override int GetHashCode()
A hash code derived from the three coordinates.
Overrides:
Calculates the Euclidean magnitude of the three coordinates.
Multiplies each coordinate by the specified coefficient.
public void Multiply(double coef)
The coefficient applied to each coordinate.
Negates each coordinate in place.
public void Negate()
Scales this point so its magnitude is one. A zero-length point is divided by zero and produces non-finite coordinates.
public void Normalize()
Subtracts another point's coordinates from this point.
Operators
Subtracts the second point from the first coordinate by coordinate without modifying either operand.