MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches

Detailed Description

This is the TSLRayOperation.

Operation Name ray

Additional Data TSLSpecialisedData structure

It is a construction operation. The operation allows the user to extend a ray from an existing line in the editor or map layers. The operation will optionally highlight the intersection points between the arc and lines in the editor and map layers.

The user selects the start of the ray by clicking on a point with the left mouse button. This may be snapped to an existing point in the editor or map layers by holding down the control key. The user then selects the other end of the line to be extended. Finally, the ray is extended by clicking on a point. This may also be snapped to a point or line in the data.

If the rayIntersectionStyle is non-zero, then symbols are created at the intersection points of the ray and any other data - in the same manner as the arc operation.

The following properties defined by the construction type structure apply to the Ray operation.

featureID tickSpacing tickStyle tickColour lineStyle lineColour lineThickness numTicks type rayIntersectionStyle rayIntersectionColour

Static Public Member Functions

static bool add (TSLEditor *editor)
 

Member Function Documentation

◆ add()

static bool TSLRayOperation::add ( TSLEditor * editor)
static

This method adds the operation to a TSLEditor object. It is passed a pointer to the editor object.

Arguments list details:

editor: a pointer to the TSLEditor object.

Returns true if added successfully, otherwise false.