You are here: Start » FIL.NET » Function Reference » Geometry 2D » Geometry 2D Basics » FIL.CreateSegment

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
inPointFilNet.Point2DA point on the created segment.
inPointAnchorfloat<0.0f, 1.0f>Anchor point, 0 means the beginning, 1 means the end of the segment.
inDirectionfloatDesired direction of the segment in degrees.
inLengthfloatDesired length of the segment in pixels.
outSegmentFilNet.Segment2DThe resulting segment.

See also