Name | Description | |
---|---|---|
![]() | NPoint Constructor | Overloaded. |
The following tables list the members exposed by NPoint.
Name | Description | |
---|---|---|
![]() | NPoint Constructor | Overloaded. |
Name | Description | |
---|---|---|
![]() ![]() | NaN | The NaN point (NaN, NaN). |
![]() ![]() | UnitX | Unit X point (1, 0). |
![]() ![]() | UnitY | Unit Y point (1, 0). |
![]() | X | The X coordinate of this point. |
![]() | Y | The Y coordinate of this point. |
![]() ![]() | Zero | The zero point (0, 0). |
Name | Description | |
---|---|---|
![]() | IsNormalized | Determines whether the vector is the unit vector (e.g. Length == 1) |
![]() | IsValid | Checks whether this point is valid, i.e. whether X and Y are both different from Double.NaN. |
![]() | IsZero | Checks whether this is the zero point (i.e. x and y are 0). |
![]() | Length | Gets the vector length |
![]() | LengthSquare | Gets the vector length square (length * length) |
![]() | NormalUnitVector | Gets the unit vector (with length == 1), which is perpendicular to this vector |
![]() | NormalVector | Gets a vector, which is perpendicular to this vector |
Name | Description | |
---|---|---|
![]() | Clamp | Clamps the point coordinates to the specified rect. |
![]() | Deserialize | Deserializes the object state from the specified property bag. |
![]() | Distance | Measures the distance between this point and the specified point. |
![]() | Divide | Performs a scalar division of a vector. |
![]() | DotProduct | Computes the dot product of this vector with another vector. Geometrically the dot product is |a| * |b| * cos(angle), where
angle - is the angle between the two vectors |a| - is the length of this vector |b| - is the length of the specified vector. |
![]() | Equals | Overloaded. Checks whether this point is equal to the given point. |
![]() | EqualsEpsilon | Checks whether this point is equal to the other point with an epsilon delta. |
![]() | GetCompassDirection | Gets the compass direction which corresponds to the vector formed by this point and the specified point. |
![]() | GetHashCode | |
![]() | Inverse | Inverses this vector (e.g. makes this vector with oposite direction). |
![]() | Multiply | Performs a scalar multiplication of this vector with the specified scalar and returns the resulting vector. |
![]() | Normalize | Makes this vector the unit vector (e.g. its length becomes 1). |
![]() | PerpDotProduct | Computes the perpendicular dot product of this vector with another vector Geometrically the perpendicular dot product is |a| * |b| * sin(angle), where
angle - is the angle between the two vectors |a| - is the length of this vector |b| - is the length of the specified vector. |
![]() | Rotate | Overloaded. Rotates the point with the specified angle around the specified pin. |
![]() | Round | Overloaded. Round this point. |
![]() | Scale | Overloaded. Scales the point around the specified pin with the specified scale factors. |
![]() | Serialize | Serializes the object state into the specified property bag. |
![]() | ToString | Returns the string representation of this object |
![]() | Translate | Translates the point with the specified amounts. |
![]() | Adds b coordinates to a coordinates and returns the resulting point (binary +) |
![]() | Divides the a coordinates by the specified divisor |
![]() | Determines whether a is equal to b |
![]() | Determines whether a is not equal to b |
![]() | Multiplies the a coordinates by the specified miltiplier |
![]() | Subtracts b coordinates from a coordinates and returns the resulting point (binary -) |