Point

Description:              This function returns a two-dimensional point, or location, in a window.

Returns:                    Point

Usage:                       Steady State

Format:                      Point(X, Y, Rotation, Trajectory)

Parameters:             X    { numeric }  { required }  { no default: }

                                      A numeric constant, that describes the reference x-axis location of the point. Expressions are not permitted here. If it is desired to change the x coordinate, use the Trajectory or Rotation parameters.

                                    Y    { numeric }  { required }  { no default: }

                                      A numeric constant, that describes the reference y-axis location of the point. Expressions are not permitted here. If it is desired to change the y coordinate, use the Trajectory or Rotation parameters.

                                    Rotation    { Rotate }  { required }  { no default: }

                                      Any expression that returns a Rotate value. This specifies any translation of this point from its reference position (X, Y) by rotation about another point. If this is invalid, no rotation is performed, but the Point is still valid.

                                    Trajectory    { Trajectory }  { required }  { no default: }

                                      Any expression that returns a Trajectory value. This specifies any translation of this point from its reference position of (X, Y) along a path. If this is invalid, no translation is performed, but the Point is still valid.

Comments:               Points are used in the Rotate and Vertex functions.

Examples:

centerPt = Point(489, 122.5, INVALID, INVALID);

startAnglePt = Point(609, 27, INVALID, INVALID);

endAnglePt = Point(586, 243, INVALID, INVALID);

This defines 3 points that are neither translated nor rotated; they can be used in a Vertex or a Rotate function, like in the example below.

GUIPie(395, 187, 583, 58 { Bounding box for pie },

       1, 1, 1, 1, 1, 0, 0 { No scaling, trajectory or rotation }, 

       1, 0 { Pie is visible; reserved }, 

       0, 0, 0 { Cannot be focused/selected }, 

       12, 15 { Red fill outlined in white }, 

       Vertex(1 { Double smooth }, 

       centerPt, startAnglePt, endAnglePt)); 

See Also:

Path | Rotate | Trajectory | Vertex