You are here: Start » AVL.NET » AVS.CreateCoordinateSystemFromTwoPoints Method

AVS.CreateCoordinateSystemFromTwoPoints Method

Creates a coordinate system with two points on its axes.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void CreateCoordinateSystemFromTwoPoints
(
	AvlNet.Point2D inPoint1,
	AvlNet.Point2D inPoint2,
	float inAngle,
	float inScale,
	float inScaleDivisor,
	out AvlNet.CoordinateSystem2D outCoordinateSystem
)

Parameters

Name Type Range Default Description
inPoint1AvlNet.Point2D
inPoint2AvlNet.Point2D
inAnglefloat
inScalefloat<0.001f, INF>1.0fDefault value: 1.0f.
inScaleDivisorfloat<0.001f, INF>1.0fDefault value: 1.0f.
outCoordinateSystemAvlNet.CoordinateSystem2D

See also