Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Geometry 2D » Geometry 2D Constructions » CreateCoordinateSystemFromSegment


Module: FoundationLite

Creates a coordinate system with the origin on a given segment.

Name Type Range Description
Input value
inSegment Segment2D
Input value
inPointAnchor Real -1.0 - 1.0
Input value
inRelativeAngle Real
Input value
inScale Real 0.001 -
Input value
inScaleDivisor Real 0.001 -
Output value
outCoordinateSystem CoordinateSystem2D


  • Connect inSegment to a computed segment representing the origin and the rotation of a new coordinate system.
  • Optionally set inScale and inScaleDivisor to obtain a custom scale.
  • Optionally set inPointAnchor and/or inRelativeAngle to modify the origin and the rotation.


Description of usage of this filter can be found in examples and tutorial: Inset Distances.


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

Complexity Level

This filter is available on Basic Complexity Level.

Filter Group

This filter is member of CreateCoordinateSystem filter group.