You are here: Start » FIL.NET » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » FIL.RotatePoint
Rotates a point clockwise around a center point.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void RotatePoint ( FilNet.Point2D inPoint, FilNet.Point2D inCenter, float inAngle, bool inInverse, out FilNet.Point2D outPoint )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoint | FilNet.Point2D | |||
![]() | inCenter | FilNet.Point2D | Center of rotation. | ||
![]() | inAngle | float | Clockwise rotation angle. | ||
![]() | inInverse | bool | Switches to the inverse operation. | ||
![]() | outPoint | FilNet.Point2D |
Examples
![]() |
![]() |
RotatePoint performed on the sample point, inCenter = (136.0, 135.0), inAngle = 180.0 and inInverse = False. The inCenter point is drawn on the first image in blue.