Search
Point3D Members
Constructors Methods
 


Represents a point in 3D space.

The following tables list the members exposed by the Point3D type.

 Public Constructors

  Name Description

Point3D

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

 Public Methods

  Name Description

add

Sums two Point3Ds' coordinates.

distance

Gets the distance of this Point3D to the specified Point3D.

getX

Gets the X coordinate of this Point3D.

getY

Gets the Y coordinate of this Point3D.

getZ

Gets the Z coordinate of this Point3D.

scale

Scales the point's coordinates by the specified scale factor.

setX

Sets the X coordinate of this Point3D to the specified value.

setY

Sets the Y coordinate of this Point3D to the specified value.

setZ

Sets the Z coordinate of this Point3D to the specified value.

toString

Object.ToString override.

 See Also