Back to FabImage Library website

You are here: Start » Function Reference » All Functions » Geometry 2D Basics » FisFilter_MakeCoordinateSystem

FisFilter_MakeCoordinateSystem


This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.

Header: FIL.h
Namespace: fis
Module: FoundationLite

Creates a coordinate system structure from individual fields.

Syntax

void fis::FisFilter_MakeCoordinateSystem
(
	const fil::Point2D& inOrigin,
	float inAngle,
	float inScale,
	fil::CoordinateSystem2D& outCoordinateSystem
)

Parameters

Name Type Range Default Description
Input value inOrigin const Point2D& Origin of the coordinate system
Input value inAngle float Clock-wise orientation angle
Input value inScale float 0.0 - 1.0f
Output value outCoordinateSystem CoordinateSystem2D&

Hints

  • Consider using "Expand Structure Fields" command from the input port's context menu instead of this filter. This will make the program more concise and thus easier to understand in most cases.
  • "Make" filters should only be used when you need to create a structure explicitly and then use it in more than one further filters.

Remarks

Read more about Local Coordinate Systems in Machine Vision Guide: Local Coordinate Systems.