Perform a generic operation between two points and return the result

C# | Visual Basic | Visual C++ |
public Point<TOther3> Convert<TOther2, TOther3>( Point<TOther2> p2, Toolbox..::.Func<T, TOther2, TOther3> convertor ) where TOther2 : new(), IComparable where TOther3 : new(), IComparable
Public Function Convert(Of TOther2 As {New, IComparable}, TOther3 As {New, IComparable}) ( _ p2 As Point(Of TOther2), _ convertor As Toolbox..::.Func(Of T, TOther2, TOther3) _ ) As Point(Of TOther3)
public: generic<typename TOther2, typename TOther3> where TOther2 : gcnew(), IComparable where TOther3 : gcnew(), IComparable Point<TOther3>^ Convert( Point<TOther2>^ p2, Toolbox..::.Func<T, TOther2, TOther3>^ convertor )

- TOther2
- The type of the second point
- TOther3
- The type of the resulting point

- p2 (Point<(Of <(TOther2>)>))
- The second point to apply generic operation
- convertor (Toolbox..::.Func<(Of <(T, TOther2, TOther3>)>))
- The generic operator

The result of the generic operation