Point2f Operators and Type Conversions |
The Point2f type exposes the following members.
| Name | Description | |
|---|---|---|
| Addition(Point2f, Point2f) |
Sums two Point2fs.
| |
| Addition(Vector2f, Point2f) |
Sums up a point and a vector, and returns a new point.
| |
| Division |
Divides a Point2f by a scalar.
| |
| Equality |
Determines whether two Point2f have equal values.
| |
| (Point2d to Point2f) |
Converts a double-precision point in a single-precision point.
Needs explicit casting to help retain precision.
| |
| GreaterThan |
Determines whether the first specified Point2f comes after
(has superior sorting value than) the second point.
Coordinates evaluation priority is first X, then Y. | |
| GreaterThanOrEqual |
Determines whether the first specified Point2f comes after
(has superior sorting value than) the second point, or it is equal to it.
Coordinates evaluation priority is first X, then Y. | |
| Inequality |
Determines whether two Point2f have different values.
| |
| LessThan |
Determines whether the first specified Point2f comes before
(has inferior sorting value than) the second point.
Coordinates evaluation priority is first X, then Y. | |
| LessThanOrEqual |
Determines whether the first specified Point2f comes before
(has inferior sorting value than) the second point, or it is equal to it.
Coordinates evaluation priority is first X, then Y. | |
| Multiply(Point2f, Single) |
Multiplies a Point2f by a scalar.
| |
| Multiply(Single, Point2f) |
Multiplies a Point2f by a scalar.
| |
| Subtraction(Point2f, Point2f) |
Subtracts two Point2fs.
| |
| Subtraction(Point2f, Vector2f) |
Subtracts a vector from a point.
| |
| UnaryNegation |
Computes the additive inverse of all coordinates in the point, and returns the new point.
|