Click or drag to resize

Point3D Operators

The Point3D type exposes the following members.

Operators
 NameDescription
Public operatorStatic memberAddition(Double, Point3D) Adds a scalar to all the coordinates of a point, and returns a new point.
Public operatorStatic memberAddition(Point3D, Point3D) Adds the coordinates of two points, and returns the result as a new point.
Public operatorStatic memberAddition(Point3D, Double) Adds a scalar to all the coordinates of a point, and returns the result as a new point.
Public operatorStatic memberDivision(Point3D, Double) Divides all the coordinates of a point with a scalar, and returns the result as a new point.
Public operatorStatic memberEquality(Point3D, Point3D) Compares two points with each other, and returns true if all coordinates are equal.
Public operatorStatic memberInequality(Point3D, Point3D) Compares two points with each other, and returns true if at least one pair of coordinates are different.
Public operatorStatic memberMultiply(Double, Point3D) Multiplies all the coordinates of a point with a scalar, and returns the result as a new point.
Public operatorStatic memberMultiply(Point3D, Double) Multiplies all the coordinates of a point with a scalar, and returns the result as a new point.
Public operatorStatic memberSubtraction(Double, Point3D) Subtracts all the coordinates of a point from a scalar, and returns the result as a new point.
Public operatorStatic memberSubtraction(Point3D, Point3D) Subtracts the coordinates of two points, and returns the result as a new point.
Public operatorStatic memberSubtraction(Point3D, Double) Subtracts a scalar from all the coordinates of a point, and returns the result as a new point.
Public operatorStatic memberUnaryNegation(Point3D) Returns the negation of a point. In case of a vector, this returns the inverse of the input vector.
Top
See Also