Table of Contents

TTMSFNCMapsRectangle.ContainsPoint Method

Returns whether the coordinate lies inside the element.

API unit family: TMSFNCMaps Declaring type: TTMSFNCMapsRectangle Inherited from: TTMSFNCMapsPolyElement

Overloads

Overload 1

Returns whether the coordinate lies inside the element.

function ContainsPoint(ACoordinate: TTMSFNCMapsCoordinateRec): Boolean; virtual;

Parameters

Name Description
ACoordinate Coordinate value used by the operation.

Returns

True when the operation succeeds or the condition is met; otherwise False.

Overload 2

Returns whether the coordinate lies inside the element.

function ContainsPoint(ACoordinate: TTMSFNCMapsCoordinateRec): Boolean; override;

Parameters

Name Description
ACoordinate Coordinate value used by the operation.

Returns

True when the operation succeeds or the condition is met; otherwise False.