AARectangleNExtensions.RotateAround<TNumeric> Method
Namespace: Jodosoft.GeometryAssembly: Jodosoft.Geometry (in Jodosoft.Geometry.dll) Version: 2.0
public static RectangleN<TNumeric> RotateAround<TNumeric>(
this AARectangleN<TNumeric> value,
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)}) (
value As AARectangleN(Of TNumeric),
pivot As Vector2N(Of TNumeric),
angle As AngleN(Of TNumeric)
) As RectangleN(Of TNumeric)
public:
[ExtensionAttribute]
generic<typename TNumeric>
where TNumeric : value class, gcnew(), INumeric<TNumeric>
static RectangleN<TNumeric> RotateAround(
AARectangleN<TNumeric> value,
Vector2N<TNumeric> pivot,
AngleN<TNumeric> angle
)
[<ExtensionAttribute>]
static member RotateAround :
value : AARectangleN<'TNumeric> *
pivot : Vector2N<'TNumeric> *
angle : AngleN<'TNumeric> -> RectangleN<'TNumeric> when 'TNumeric : struct, new() and INumeric<'TNumeric>
- value AARectangleN<TNumeric>
-
- pivot Vector2N<TNumeric>
-
- angle AngleN<TNumeric>
-
- TNumeric
RectangleN<TNumeric>In Visual Basic and C#, you can call this method as an instance method on any object of type
AARectangleN<TNumeric>. 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).