Skip to main content
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.

FMX.TMSFNCMaps.hppPascalC++
function ContainsPoint(ACoordinate: TTMSFNCMapsCoordinateRec): Boolean; virtual;
virtual bool __fastcall ContainsPoint(const TTMSFNCMapsCoordinateRec &ACoordinate);

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.

FMX.TMSFNCMaps.hppPascalC++
function ContainsPoint(ACoordinate: TTMSFNCMapsCoordinateRec): Boolean; override;
virtual bool __fastcall ContainsPoint(const TTMSFNCMapsCoordinateRec &ACoordinate);

Parameters

Name Description
ACoordinate Coordinate value used by the operation.

Returns

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