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)
| other (Point2d) | Another point. |
This method is usually largely faster than DistanceTo().
| other (Point2d) | Other point for squared distance measurement. |
(Provided for languages that do not support operator overloading. You can use the / operator otherwise)
Equals
#| obj (object) | The specified object. |
| point (Point2d) | The specified point. |
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)
(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)
| obj (object) |
| info (SerializationInfo) | |
| context (StreamingContext) |
ToString
#| format (string) | The format to use. -or- A null reference (Nothing in Visual Basic) to use the default format defined for the type of the IFormattable implementation. |
| formatProvider (IFormatProvider) | The provider to use to format the value. -or- A null reference (Nothing in Visual Basic) to obtain the numeric format information from the current locale setting of the operating system. |
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. |