AARectangleNFromRightCenterTNumeric Method
Namespace: Jodosoft.GeometryAssembly: Jodosoft.Geometry (in Jodosoft.Geometry.dll) Version: 2.0
public static AARectangleN<TNumeric> FromRightCenter<TNumeric>(
Vector2N<TNumeric> rightCenter,
Vector2N<TNumeric> dimensions
)
where TNumeric : struct, new(), INumeric<TNumeric>
Public Shared Function FromRightCenter(Of TNumeric As {Structure, New, INumeric(Of TNumeric)}) (
rightCenter As Vector2N(Of TNumeric),
dimensions As Vector2N(Of TNumeric)
) As AARectangleN(Of TNumeric)
public:
generic<typename TNumeric>
where TNumeric : value class, gcnew(), INumeric<TNumeric>
static AARectangleN<TNumeric> FromRightCenter(
Vector2N<TNumeric> rightCenter,
Vector2N<TNumeric> dimensions
)
static member FromRightCenter :
rightCenter : Vector2N<'TNumeric> *
dimensions : Vector2N<'TNumeric> -> AARectangleN<'TNumeric> when 'TNumeric : struct, new() and INumeric<'TNumeric>
- rightCenter Vector2NTNumeric
-
- dimensions Vector2NTNumeric
-
- TNumeric
AARectangleNTNumeric