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

Detailed Description

This is the TSLBoundOperation.

Operation Name bound

Additional Data TSLSpecialisedData structure

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

The operation is invoked using an activate method and requires the user to select a single point. This point is then used to detect the smallest boundary surrounding it and a polygon will be drawn around the boundary using the model attributes. During a single activation of the bound operation, many points may be selected. If subsequent point selections cause ajoining polygons to be created, then the polygons are automatically joined together.

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 Bound 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 TSLBoundOperation::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:

Parameters
editorA pointer to the TSLEditor object.
Returns
true if added successfully, otherwise false.