The Point2D type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Point2D | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| Add | Overloaded. | |
| Clear |
Set coordinates to 0
| |
| Distance | Overloaded. | |
| Equals |
Override Equals method of the base classs
(Overrides ValueType..::.Equals(Object).) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Override GetHashCode method of the base class
(Overrides ValueType..::.GetHashCode()()().) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsEmpty |
Check if this point is empty (coordinates values = 0)
| |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Rotate |
Rotate this point
| |
| Sub | Overloaded. | |
| ToPoint3D |
Convert object as a Point3D (Z value = 0)
| |
| ToPointF |
Convert object as a PointF
| |
| ToString |
Convert object as string "X=.../Y=..."
(Overrides ValueType..::.ToString()()().) |
Operators
| Name | Description | |
|---|---|---|
| Addition |
surcharge + operator
| |
| Division |
surcharge / operator
| |
| Equality |
surcharge == operator
| |
| Implicit |
Cast Point2D into Point3D
| |
| Inequality |
surcharge != operator
| |
| Multiply |
surcharge * operator
| |
| Subtraction |
surcharge - operator
|
Fields
| Name | Description | |
|---|---|---|
| Empty |
Emtpy struct constructor helper
|