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

Detailed Description

This component represents a dynamic echo coordinate.

It holds a position (in TMC space), and a type. The type indicates to the editor how the position should be interpreted. An array of these components should be passed by the operation to the TSLUserOperationRequest::setDynamic Echo method.

A coordinate of type TSLEchoCoordFixed is always fixed at the specified TMC position.

A coordinate of type TSLEchoCoordMoving will move with the locator. The position is an offset from the locator position.

A coordinate of type TSLEchoCoordConstrained will move with the locator, but may have the X or Y coordinate fixed, dependent upon the current constraint mode. An anchor point may be supplied to provide an offset from the locator. The anchor point position is subtracted from the TSLEchoCoord position to determine the offset. If no anchor point is supplied, then the coordinate is fixed to the locator with no offset.

Public Member Functions

 TSLEchoCoord ()
 

Public Attributes

int m_x
 
int m_y
 
TSLEchoCoordType m_type
 

Constructor & Destructor Documentation

◆ TSLEchoCoord()

TSLEchoCoord::TSLEchoCoord ( )
inline

Default constructor for the TSLEchoCoord component.

Class TSLEchoCoord

Member Data Documentation

◆ m_type

TSLEchoCoordType TSLEchoCoord::m_type

Data Members for Associations

◆ m_x

int TSLEchoCoord::m_x

Data Members for Class Attributes The X TMC space location for the dynamic echo. May be absolute for fixed and constrained coordinates, or relative for moving coordinates.

◆ m_y

int TSLEchoCoord::m_y

The X TMC space location for the dynamic echo. May be absolute for fixed and constrained coordinates, or relative for moving coordinates.