Point2d
ReferencesConstructors
Properties
Indexers
Methods
(Provided for languages that do not support operator overloading. You can use the + operator otherwise)
(Provided for languages that do not support operator overloading. You can use the + operator otherwise)
(Provided for languages that do not support operator overloading. You can use the + operator otherwise)
0: if this is identical to other
-1: if this.X < other.X
-1: if this.X == other.X and this.Y < other.Y
+1: otherwise.
This method is usually largely faster than DistanceTo().
(Provided for languages that do not support operator overloading. You can use the / operator otherwise)
Equals
#GetHashCode
#(Provided for languages that do not support operator overloading. You can use the * operator otherwise)
(Provided for languages that do not support operator overloading. You can use the * operator otherwise)
Negate
#(Provided for languages that do not support operator overloading. You can use the - unary operator otherwise)
(Provided for languages that do not support operator overloading. You can use the - operator otherwise)
(Provided for languages that do not support operator overloading. You can use the - operator otherwise)
ToString
#Nothing in Visual Basic) to use the default format defined for the type of the IFormattable implementation.Nothing in Visual Basic) to obtain the numeric format information from the current locale setting of the operating system.result = transformation*point
Operators
| Operation | Result | Description | ||
|---|---|---|---|---|
| Point2d | + | Vector2d | Point2d | Adds a point with a vector. |
| Point2d | + | Point2d | Point2d | Adds a point with a point. |
| Vector2d | + | Point2d | Point2d | Adds a vector with a point. |
| Point2d | / | double | Point2d | Divides a Point2d by a number. |
| Point2d | == | Point2d | bool | Determines whether two Point2d have equal values. |
| Point2d | > | Point2d | bool | Determines whether the first specified Point2d comes after (has superior sorting value than) the second point. Coordinates evaluation priority is first X, then Y. |
| Point2d | >= | Point2d | bool | Determines whether the first specified Point2d comes after (has superior sorting value than) the second point, or it is equal to it. Coordinates evaluation priority is first X, then Y. |
| Point2d | != | Point2d | bool | Determines whether two Point2d have different values. |
| Point2d | < | Point2d | bool | Determines whether the first specified point comes before (has inferior sorting value than) the second point. Coordinates evaluation priority is first X, then Y. |
| Point2d | <= | Point2d | bool | Determines whether the first specified point comes before (has inferior sorting value than) the second point, or it is equal to it. Coordinates evaluation priority is first X, then Y. |
| double | * | Point2d | Point2d | Multiplies a Point2d by a number. |
| Point2d | * | double | Point2d | Multiplies a Point2d by a number. |
| Point2d | - | Vector2d | Point2d | Subtracts a vector from a point. |
| Point2d | - | Point2d | Vector2d | Subtracts point2 from point1. |
| - | Point2d | Point2d | Computes the additive inverse of all coordinates in the point, and returns the new point. | |