You are here: Start » FIL.NET » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » FIL.RotateSegment
Rotates a segment clockwise around a center point.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void RotateSegment ( FilNet.Segment2D inSegment, FilNet.Point2D? inCenter, float inAngle, bool inInverse, out FilNet.Segment2D outSegment )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSegment | FilNet.Segment2D | |||
![]() | inCenter | FilNet.Point2D? | Center of rotation (by default the mass center). Default value: ftl::NIL. | ||
![]() | inAngle | float | Clockwise angle of rotation. | ||
![]() | inInverse | bool | Switches to the inverse operation. | ||
![]() | outSegment | FilNet.Segment2D |
Examples
![]() |
![]() |
RotateSegment performed on the sample segment, inCenter = Auto, inAngle = 70.0 and inInverse = False.