VectorExtensionsRotateAroundTNumeric Method
Namespace: Jodosoft.GeometryAssembly: Jodosoft.Geometry (in Jodosoft.Geometry.dll) Version: 2.0
public static Vector2N<TNumeric> RotateAround<TNumeric>(
this Vector2N<TNumeric> vector,
Vector2N<TNumeric> pivot,
AngleN<TNumeric> angle
)
where TNumeric : struct, new(), INumeric<TNumeric>
<ExtensionAttribute>
Public Shared Function RotateAround(Of TNumeric As {Structure, New, INumeric(Of TNumeric)}) (
vector As Vector2N(Of TNumeric),
pivot As Vector2N(Of TNumeric),
angle As AngleN(Of TNumeric)
) As Vector2N(Of TNumeric)
public:
[ExtensionAttribute]
generic<typename TNumeric>
where TNumeric : value class, gcnew(), INumeric<TNumeric>
static Vector2N<TNumeric> RotateAround(
Vector2N<TNumeric> vector,
Vector2N<TNumeric> pivot,
AngleN<TNumeric> angle
)
[<ExtensionAttribute>]
static member RotateAround :
vector : Vector2N<'TNumeric> *
pivot : Vector2N<'TNumeric> *
angle : AngleN<'TNumeric> -> Vector2N<'TNumeric> when 'TNumeric : struct, new() and INumeric<'TNumeric>
- vector Vector2NTNumeric
-
- pivot Vector2NTNumeric
-
- angle AngleNTNumeric
-
- TNumeric
Vector2NTNumericIn Visual Basic and C#, you can call this method as an instance method on any object of type
Vector2NTNumeric. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).