Point |
[SerializableAttribute] public struct PointD2D
The PointD2D type exposes the following members.
| Name | Description | |
|---|---|---|
| Empty | ||
| IsEmpty | ||
| IsNaN | Gets a value indicating whether one of the members of this instance is NaN. | |
| VectorLength | ||
| VectorLengthSquared | ||
| X | Gets the x component of this point. | |
| Y | Gets the y component of this point. |
| Name | Description | |
|---|---|---|
| Deconstruct | ||
| Distance | Calculates the distance between two points. | |
| DistanceSquared | Calculates the squared distance between two points. | |
| DistanceSquaredTo | Calculates the squared distance between this point and another point. | |
| DistanceTo | Calculates the distance between this point and another point. | |
| DotProduct(PointD2D) | ||
| DotProduct(PointD2D, PointD2D) | ||
| Equals | (Overrides ValueTypeEquals(Object)) | |
| Get90DegreeRotated | ||
| GetHashCode | (Overrides ValueTypeGetHashCode) | |
| GetMemberwiseAbs | Returns a new PointD2D based on the existing one, but with both Abs(X) instead of X, and Abs(Y) instead of Y. | |
| GetNormalized | ||
| GetRotatedByDegree(Double) | ||
| GetRotatedByDegree(Double, PointD2D) | ||
| GetRotatedByRad(Double) | ||
| GetRotatedByRad(Double, PointD2D) | ||
| GetSignFlipped | ||
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| GetXYFlipped | ||
| IsPointIntoDistance | Determines whether or not a given point (point) is into a distance to a finite line, that is spanned between two points lineOrg and lineEnd. | |
| SquareDistanceLineToPoint | Calculates the squared distance between a finite line and a point. | |
| ToString | (Overrides ValueTypeToString) | |
| WithX | Returns a new instance with X set to the provided value. | |
| WithXPlus | Returns a new instance with X set to the X plus the provided value. | |
| WithY | Returns a new instance with Y set to the provided value. | |
| WithYPlus | Returns a new instance with Y set to the Y plus the provided value. |
| Name | Description | |
|---|---|---|
| ToGdi | (Defined by GeometryToSystemDrawingConversions) | |
| ToGdiSize | (Defined by GeometryToSystemDrawingConversions) |