Point3D Point3D Point3D Point3D Class

Definition

Represents the coordinates of a three-dimensional (3D) data point. This class is used when performing custom drawing with 3D charts.

public ref class Point3D
public class Point3D
type Point3D = class
Public Class Point3D
Inheritance
Point3DPoint3DPoint3DPoint3D

Remarks

Any point used in custom 3D drawing - which is accomplished using GDI+ - must be transformed from relative X, Y and Z (3D) coordinates into relative X and Y (2D) coordinates using the TransformPoints method. By calling TransformPoints, the X and Y-values of the Point3D objects are changed so that they reflect the 3-dimensional space. The new X and Y points can then be used for GDI+ method calls - the Z value is then disregarded - after being changed to absolute pixel coordinates using the GetAbsolutePoint method.

Note that the Z coordinate may be less than zero (located behind a chart area) or greater than 100 (located in front of a chart area).

To both enable 3D charts and work with their styles, use the Area3DStyle property. The Point3D class is not used for 3D styles.

Constructors

Point3D() Point3D() Point3D() Point3D()

Initializes a new instance of the Point3D class.

Point3D(Single, Single, Single) Point3D(Single, Single, Single) Point3D(Single, Single, Single) Point3D(Single, Single, Single)

Initializes a new instance of the AnnotationPathPoint class with the specified X, Y and Z coordinates.

Properties

PointF PointF PointF PointF

Gets or sets a PointF structure, which stores the X and Y coordinates of a 3D point.

X X X X

Gets or sets the X coordinate of a 3D point.

Y Y Y Y

Gets or sets the Y coordinate of a 3D point.

Z Z Z Z

Gets or sets the Z coordinate of a 3D point.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to