You are here: Start » FIL.NET » Function Reference » Geometry 2D » Geometry 2D Constructions » FIL.CreateCoordinateSystemFromRectangle

FIL.CreateCoordinateSystemFromRectangle

Creates a coordinate system from a rectangle.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void CreateCoordinateSystemFromRectangle
(
	FilNet.Rectangle2D inRectangle,
	FilNet.Anchor2D inPointAnchor,
	float inRelativeAngle,
	float inScale,
	float inScaleDivisor,
	out FilNet.CoordinateSystem2D outCoordinateSystem
)

Parameters

Name Type Range Default Description
inRectangleFilNet.Rectangle2D
inPointAnchorFilNet.Anchor2DTopLeftDefault value: TopLeft.
inRelativeAnglefloat
inScalefloat<0.001f, INF>1.0fDefault value: 1.0f.
inScaleDivisorfloat<0.001f, INF>1.0fDefault value: 1.0f.
outCoordinateSystemFilNet.CoordinateSystem2D

Examples

A local coordinate system created from a rectangle.

Remarks

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

See also