Back to FabImage Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Features » VectorLength
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Computes the length of a vector.
Syntax
C++
C#
void fil::VectorLength ( const fil::Vector2D& inVector, float& outLength )
Parameters
Examples
![]() |
VectorLength performed on a vector with parameters: DeltaX = 10, DeltaY = 10.
outLength returns 14,142.