Back to Adaptive Vision Library website

You are here: Start » Function Reference » Image » Image Drawing » DrawVector

DrawVector


Header: AVL.h
Namespace: avl
Module: FoundationLite

Draws a vector at an associated initial point on an image.

Syntax

C++
C#
 
void avl::DrawVector
(
	avl::Image& ioImage,
	const avl::Vector2D& inVector,
	const avl::Point2D& inInitialPoint,
	atl::Optional<const avl::CoordinateSystem2D&> inVectorAlignment,
	const avl::Pixel& inColor,
	const avl::DrawingStyle& inDrawingStyle,
	const float inHeadSize
)

Parameters

Name Type Default Description
ioImage Image&
inVector const Vector2D&
inInitialPoint const Point2D&
inVectorAlignment Optional<const CoordinateSystem2D&> NIL
inColor const Pixel&
inDrawingStyle const DrawingStyle&
inHeadSize const float 5.0f