You are here: Start » AVL.NET » Invoke.CreateCoordinateSystemFromSegment
Creates a coordinate system with the origin on a given segment.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void CreateCoordinateSystemFromSegment ( Avl.Segment2D inSegment, float inPointAnchor, float inRelativeAngle, float inScale, float inScaleDivisor, out Avl.CoordinateSystem2D outCoordinateSystem )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inSegment | Avl.Segment2D | |||
![]()  | inPointAnchor | float | <-1.0f, 1.0f> | 0.0f | Default value: 0.0f. | 
![]()  | inRelativeAngle | float | |||
![]()  | inScale | float | <0.001f, INF> | 1.0f | Default value: 1.0f. | 
![]()  | inScaleDivisor | float | <0.001f, INF> | 1.0f | Default value: 1.0f. | 
![]()  | outCoordinateSystem | Avl.CoordinateSystem2D | 


