You are here: Start » FIL.NET » Function Reference » Geometry 2D » Geometry 2D Basics » FIL.CreateSegment
Produces a segment of given parameters.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void CreateSegment ( FilNet.Point2D inPoint, float inPointAnchor, float inDirection, float inLength, out FilNet.Segment2D outSegment )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoint | FilNet.Point2D | A point on the created segment. | ||
![]() | inPointAnchor | float | <0.0f, 1.0f> | Anchor point, 0 means the beginning, 1 means the end of the segment. | |
![]() | inDirection | float | Desired direction of the segment in degrees. | ||
![]() | inLength | float | Desired length of the segment in pixels. | ||
![]() | outSegment | FilNet.Segment2D | The resulting segment. |