A two dimensional point

C# | Visual Basic | Visual C++ |
[SerializableAttribute] public class Point2D<T> : Point<T> where T : new(), IComparable
<SerializableAttribute> _ Public Class Point2D(Of T As {New, IComparable}) _ Inherits Point(Of T)
[SerializableAttribute] generic<typename T> where T : gcnew(), IComparable public ref class Point2D : public Point<T>

- T
- The type of value for this 2D point

All Members | Constructors | Methods | Properties | Fields | |
Icon | Member | Description |
---|---|---|
![]() | Point2D<(Of <(T>)>)()()() | Create a 2D point located in the origin |
![]() | Point2D<(Of <(T>)>)(T, T) | Create a 2D point of the specific location |
![]() | Point2D<(Of <(T>)>)(array<T>[]()[]) | Create a 2D point from a array of size 2 |
![]() | _Add<(Of <(TOther>)>)(Point<(Of <(TOther>)>)) |
An the other point to the current point
(Inherited from Point<(Of <(T>)>).) |
![]() | _Convert<(Of <(TOther>)>)(Point<(Of <(TOther>)>), Toolbox..::.Func<(Of <(T, TOther, T>)>)) |
Perform a generic operation between two points and store the result in the first point
(Inherited from Point<(Of <(T>)>).) |
![]() | _coordinate | The internal representation of this point as an array (Inherited from Point<(Of <(T>)>).) |
![]() | _Sub<(Of <(TOther>)>)(Point<(Of <(TOther>)>)) |
Subtract other from the current point
(Inherited from Point<(Of <(T>)>).) |
![]() | Add<(Of <(TOther>)>)(Point<(Of <(TOther>)>)) | Sum the current point with another point and returns the result (Inherited from Point<(Of <(T>)>).) |
![]() | Convert<(Of <(T2>)>)()()() | Convert this 2D point to the specific format |
![]() | Convert<(Of <(TOther2, TOther3>)>)(Point<(Of <(TOther2>)>), Toolbox..::.Func<(Of <(T, TOther2, TOther3>)>)) |
Perform a generic operation between two points and return the result
(Inherited from Point<(Of <(T>)>).) |
![]() | Coordinate |
The array representation of this point,
(Inherited from Point<(Of <(T>)>).) |
![]() | CvPoint | Obsolete.
The CvPoint representation of this 2D point
|
![]() | Dimension | The dimension of this point (Inherited from Point<(Of <(T>)>).) |
![]() | Equals(Point<(Of <(T>)>)) |
Compare if the two point have equal dimension and value, if so, return true, otherwise, false
(Inherited from Point<(Of <(T>)>).) |
![]() | Equals(Object) | (Inherited from 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()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType()()() | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | Implicit(Point2D<(Of <(T>)>)) |
implicit operator to MCvPoint
|
![]() | InConvexPolygon(IConvexPolygon<(Of <(T>)>)) |
Determine if the point is in a convex polygon
|
![]() | InConvexPolygon(array<Point2D<(Of <(T>)>)>[]()[]) |
Determine if the point is in a convex polygon
|
![]() | Item[([(Int32])]) | Return the specific element in this point (Inherited from Point<(Of <(T>)>).) |
![]() | MCvPoint |
The MCvPoint representation of this 2D point
|
![]() | MCvPoint2D32f |
The MCvPoint2D32f representation of this 2D point
|
![]() | MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Mul(T) |
Multiply the current point with the specific value
(Inherited from Point<(Of <(T>)>).) |
![]() | Norm | The norm of this point. e.g. sqrt(X^2 + Y^2 + ...) (Inherited from Point<(Of <(T>)>).) |
![]() | Normalized | Return a normalized point (aka. the direction) (Inherited from Point<(Of <(T>)>).) |
![]() | PointDegreeAngle | The angle between the direction of this point and the x-axis, in degree |
![]() | PointRadianAngle | The angle between the direction of this point and the x-axis, in radian |
![]() | Resize(Int32) |
Resize the current point to the specific size,
if the new size is smaller, perform a truncation,
if the new size is larger, the rest of the space is filled with default value
(Inherited from Point<(Of <(T>)>).) |
![]() | Sub<(Of <(TOther>)>)(Point<(Of <(TOther>)>)) |
substract the current point with another point and returns the result
(Inherited from Point<(Of <(T>)>).) |
![]() | ToString()()() | (Inherited from Object.) |
![]() | X | The x value of this point |
![]() | Y | The y value of this point |

Object | |||
![]() | Point<(Of <(T>)>) | ||
![]() | Point2D<(Of <(T>)>) | ||
![]() | Circle<(Of <(T>)>) | ||
![]() | Point3D<(Of <(T>)>) |