GET PATH FEAT ANGLES: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
Mikeo (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


{{Command|syntax=GET_PATH_FEAT_ANGLES <path number> <feature number> <start angle> <end angle> <included angle>
{{Command|syntax=GET_PATH_FEAT_ANGLES <path number> <feature number> <start angle> <end angle> <included angle>
|description=:Get the angles of a feature in a numbered {{macro path}}.
|description=:Get the angles of a feature in a numbered [[macro path]].


|param1=<path number>|param1_desc={{path number}}
|param1=<path number>|param1_desc={{path number}}
|param2=<feature number>|param2_desc={{feature number}}
|param2=<feature number>|param2_desc={{path_feature num}}
|param3=<start angle>|param3_desc={{parameter_variable_any_name}} the start angle.
|param3=<start angle>|param3_desc={{parameter_variable_any_name}} the start angle.
|param4=<end angle>|param4_desc={{parameter_variable_any_name}} the end angle
|param4=<end angle>|param4_desc={{parameter_variable_any_name}} the end angle

Latest revision as of 16:59, 14 January 2011

Up

Command

GET_PATH_FEAT_ANGLES <path number> <feature number> <start angle> <end angle> <included angle>


Get the angles of a feature in a numbered macro path.

Parameters

<path number>
Path number (1 to 100).
<feature number>
Feature number. 1 for the first feature, 2 for the second etc.
<start angle>
Name of variable to be set to the start angle.
<end angle>
Name of variable to be set to the end angle
<included angle>
Name of variable to be set to the included angle (zero if not an arc).

Example

GET_PATH_FEAT_ANGLES 3, 10, StartAng, EndAng, IncAng

Get the angles of the 10th feature in the path number 3.