Point3f Methods |
The Point3f type exposes the following members.
| Name | Description | |
|---|---|---|
| Add(Point3f, Point3f) |
Adds a point to another point.
(Provided for languages that do not support operator overloading. You can use the + operator otherwise) | |
| Add(Point3f, Vector3f) |
Sums up a point and a vector, and returns a new point.
(Provided for languages that do not support operator overloading. You can use the + operator otherwise) | |
| Add(Vector3f, Point3f) |
Sums up a point and a vector, and returns a new point.
(Provided for languages that do not support operator overloading. You can use the + operator otherwise) | |
| CompareTo | ||
| DistanceTo |
Computes the distance between two points.
| |
| DistanceToSquared |
Computes the squared distance between two points.
| |
| Divide |
Divides a point by a factor.
(Provided for languages that do not support operator overloading. You can use the / operator otherwise) | |
| EpsilonEquals |
Check that all values in other are within epsilon of the values in this
| |
| Equals(Object) |
Determines whether the specified System.Object is a Point3f and has the same values as the present point.
(Overrides ValueTypeEquals(Object).) | |
| Equals(Point3f) |
Determines whether the specified Point3f has the same values as the present point.
| |
| GetHashCode |
Computes a hash code for the present point.
(Overrides ValueTypeGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Multiply(Point3f, Single) |
Multiplies a point by a factor.
(Provided for languages that do not support operator overloading. You can use the * operator otherwise) | |
| Multiply(Single, Point3f) |
Multiplies a point by a factor.
(Provided for languages that do not support operator overloading. You can use the * operator otherwise) | |
| Negate |
Computes the additive inverse of all coordinates in the point, and returns the new point.
(Provided for languages that do not support operator overloading. You can use the - unary operator otherwise) | |
| Subtract(Point3f, Point3f) |
Subtracts a point from another point.
(Provided for languages that do not support operator overloading. You can use the - operator otherwise) | |
| Subtract(Point3f, Vector3f) |
Subtracts a vector from a point.
(Provided for languages that do not support operator overloading. You can use the - operator otherwise) | |
| ToString |
Constructs the string representation for the current point.
(Overrides ValueTypeToString.) | |
| ToString(String, IFormatProvider) | Formats the value of the current instance using the specified format. | |
| Transform |
Transforms the present point in place. The transformation matrix acts on the left of the point. i.e.,
result = transformation*point |