You are here: Start » FIL.NET » Function Reference » Geometry 2D » Geometry 2D Features » FIL.SegmentBisector
Computes a line passing through the center of a segment at a right angle.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void SegmentBisector ( FilNet.Segment2D inSegment, out FilNet.Line2D outBisector )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSegment | FilNet.Segment2D | |||
![]() | outBisector | FilNet.Line2D |
Description
Note that because of inaccuracies of floating-point arithmetic, some geometric operations (including this one) may lead to unpredictable results for degenerated cases. In this filter such a case occurs when an empty segment is given on input.
Examples
![]() |
SegmentBisector performed on a segment with parameters: X1 = 50, Y1 = 50, X2 = 300, Y2 = 300.