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

Detailed Description

This is the TSLHoleOperation.

Operation Name hole

Additional Data None

It is a specialised primitive operation. The operation enables the user to add interior holes to a polygon in the editor model.

To add a hole to a polygon, the user must first define a new 'hole' polygon. The hole must be positioned within the boundaries of the existing polygon or the operation will complain. To add the hole, the user selects the two polygons and invokes the operation.

The operation is invoked using an activate method and is deactivated immediately.

Static Public Member Functions

static bool add (TSLEditor *editor)
 

Member Function Documentation

◆ add()

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