You are here: Start » AVL.NET » AVL.ResizeSegment_Delta
Changes length of a segment by adding a value preserving its orientation and center point.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void ResizeSegment_Delta ( AvlNet.Segment2D inSegment, float inDelta, float inAnchor, out AvlNet.Segment2D outSegment )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inSegment | AvlNet.Segment2D | ||||
inDelta | float | 0.0f | Value added to segment length. Default value: 0.0f. | ||
inAnchor | float | <-INF, INF> | 0.5f | Default value: 0.5f. | |
outSegment | AvlNet.Segment2D |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Negative segment length in ResizeSegment_Delta. |