A multi dimension point

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

- T
- The type of value for this point

All Members | Constructors | Methods | Properties | Fields | |
Icon | Member | Description |
---|---|---|
![]() | Point<(Of <(T>)>)()()() | Create a default point of 0 dimension |
![]() | Point<(Of <(T>)>)(Int32) | Create a point of the specific dimension |
![]() | Point<(Of <(T>)>)(array<T>[]()[]) | Create a point using the specific data |
![]() | _Add<(Of <(TOther>)>)(Point<(Of <(TOther>)>)) |
An the other point to the current point
|
![]() | _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
|
![]() | _coordinate | The internal representation of this point as an array |
![]() | _Sub<(Of <(TOther>)>)(Point<(Of <(TOther>)>)) |
Subtract other from the current point
|
![]() | Add<(Of <(TOther>)>)(Point<(Of <(TOther>)>)) | Sum the current point with another point and returns the result |
![]() ![]() | Addition(Point<(Of <(T>)>), Point<(Of <(T>)>)) |
Add the 2nd point from the 1st point and returns the result
|
![]() | Convert<(Of <(TOther2, TOther3>)>)(Point<(Of <(TOther2>)>), Toolbox..::.Func<(Of <(T, TOther2, TOther3>)>)) |
Perform a generic operation between two points and return the result
|
![]() | Convert<(Of <(TOther>)>)()()() | Convert this point to the specific type |
![]() | Coordinate |
The array representation of this point,
|
![]() | Dimension | The dimension of this point |
![]() | Equals(Point<(Of <(T>)>)) |
Compare if the two point have equal dimension and value, if so, return true, otherwise, false
|
![]() | 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.) |
![]() | Item[([(Int32])]) | Return the specific element in this point |
![]() | MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Mul(T) |
Multiply the current point with the specific value
|
![]() ![]() | Multiply(Point<(Of <(T>)>), T) |
Multiply the point with the specific value
|
![]() | Norm | The norm of this point. e.g. sqrt(X^2 + Y^2 + ...) |
![]() | Normalized |
Return a normalized point (aka. the direction)
|
![]() | 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
|
![]() | Sub<(Of <(TOther>)>)(Point<(Of <(TOther>)>)) |
substract the current point with another point and returns the result
|
![]() ![]() | Subtraction(Point<(Of <(T>)>), Point<(Of <(T>)>)) |
Subtract the 2nd point from the 1st point and returns the result
|
![]() | ToMatrix()()() |
Convert this point to matrix
|
![]() | ToString()()() | (Inherited from Object.) |

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