Navigation: Scripting Reference Manual > Functions & Subroutines > AddRacetrackCurve

 

AddRacetrackCurve

 

Contact Us: fredsupport@photonengr.com

 

Description

Adds a new Racetrack Curve to the associated FRED document.

 

Syntax

n = AddRacetrackCurve ( entity, xSemiApe, ySemiApe, radius )

 

Parameters

n (Long)

Node number of the curve.

 

entity As T_ENTITY

The generic curve data for the new curve.

 

xSemiApe As Long

The x semi-aperture of the racetrack curve.

 

ySemiApe As Long

The y semi-aperture of the racetrack curve.

 

radius As Double

The radius of the rounded corners of the racetrack.

 

 

Remarks

AddRacetrackCurve creates a rectangular curve with rounded corners as shown in the diagram below.

 

 

See Also

T_ENTITY

GetRacetrackCurve

SetRacetrackCurve

Examples

Curves

 

 

 

 

 

Copyright © Photon Engineering, LLC