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

Detailed Description

This is the TSLLassoOperation class.

Operation Name lasso

Additional Data TSLSpecialisedData structure

It is a specialised primitive class. Like the bound operation, it allows users to create new features by capturing elements of existing features.

The operation enables the user to define the boundaries of a capture extent. The largest polygon in the map layer that is positioned within that extent is copied into the editor model.

The user defines the boundary of a lasso by clicking at points with the left mouse button. Clicking on the right mouse button will complete the boundary and cause the polygon the be created.

If no polygon may be formed, then the user may optionally trigger gap detection.

The following properties defined by the TSLSpecialisedData structure apply to the Lasso operation:

featureID gapMarkerFeatureID minGap maxGap lineStyle lineColour lineThickness fillColour fillStyle

Static Public Member Functions

static bool add (TSLEditor *editor)
 

Member Function Documentation

◆ add()

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