Back to FabImage Library website
You are here: Start » Function Reference » Geometry 3D » Geometry 3D Basics » CreateSegment3D

CreateSegment3D
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Vision3DLite |
Produces a segment in 3D of given parameters.
Syntax
C++
C#
void fil::CreateSegment3D ( const fil::Point3D& inPoint3D, float inPointAnchor, const fil::Vector3D& inDirectionVector, float inLength, fil::Segment3D& outSegment3D )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inPoint3D | const Point3D& | A point on the created segment | ||
![]() |
inPointAnchor | float | 0.0 - 1.0 | Anchor point, 0 means the beginning, 1 means the end of the segment | |
![]() |
inDirectionVector | const Vector3D& | Desired direction of the segment | ||
![]() |
inLength | float | Desired length of the segment in pixels | ||
![]() |
outSegment3D | Segment3D& | The resulting segment |