Back to FabImage Library website
You are here: Start » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » ResizeSegment3D_Delta

ResizeSegment3D_Delta
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Vision3DLite |
Changes length of a segment in 3D by adding a value preserving its orientation and center point.
Syntax
C++
C#
void fil::ResizeSegment3D_Delta ( const fil::Segment3D& inSegment3D, float inDelta, float inAnchor, fil::Segment3D& outSegment3D )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inSegment3D | const Segment3D& | |||
![]() |
inDelta | float | 0.0f | Value added to segment length | |
![]() |
inAnchor | float | -![]() ![]() |
0.5f | Anchor point, 0 means the beginning, 1 means the end of the segment |
![]() |
outSegment3D | Segment3D& |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Negative segment length in ResizeSegment3D_Delta. |