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

Detailed Description

This is the TSLReplaceSectionOperation.

Operation Name replacesection

Additional Data Pointer to integer indicating true if follow mode is on.

It is an enhanced version of the add/move/delete point operations.

The operation will highlight the points of selected polylines and polygons. Users specify two points on an entity by clicking on them with the left mouse button. Clicking the right mouse button at this stage will cancel the operation. For polygons, the user then selects which of the routes between the points is being replaced by clicking near one edge.

Once a section has been chosen, the new path between the points is drawn, using the standard polyline creation facilities including snapping, constraints and follow mode. Once complete, clicking the right mouse button will replace the section by the new points - assuming that the entity would still be valid.

NOTE: The operation will allow you to jump from one entity to another using follow mode, but only if there is a common intersection point. There must be a vertex in both entities at the intersection point.

Static Public Member Functions

static bool add (TSLEditor *editor)
 

Member Function Documentation

◆ add()

static bool TSLReplaceSectionOperation::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.