You are here: Start » AVL.NET » AVL.SegmentBisector
Computes a line passing through the center of a segment at a right angle.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void SegmentBisector ( AvlNet.Segment2D inSegment, out AvlNet.Line2D outBisector )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inSegment | AvlNet.Segment2D | ||||
outBisector | AvlNet.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.