You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Constructions » AVL.CreateCoordinateSystemFromSegment

AVL.CreateCoordinateSystemFromSegment

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void CreateCoordinateSystemFromSegment
(
	AvlNet.Segment2D inSegment,
	float inPointAnchor,
	float inRelativeAngle,
	float inScale,
	float inScaleDivisor,
	out AvlNet.CoordinateSystem2D outCoordinateSystem
)

Parameters

Name Type Range Default Description
inSegmentAvlNet.Segment2D
inPointAnchorfloat<-1.0f, 1.0f>0.0fDefault value: 0.0f.
inRelativeAnglefloat
inScalefloat<0.001f, INF>1.0fDefault value: 1.0f.
inScaleDivisorfloat<0.001f, INF>1.0fDefault value: 1.0f.
outCoordinateSystemAvlNet.CoordinateSystem2D

Remarks

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

See also