%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
PointInRegion Method
See Also 
vdWebLibrary Namespace > vdgeo Class : PointInRegion Method
x
The x value in World coordinates of the point to be checked.
y
The y value in World coordinates of the point to be checked.
pts
An array of points that define to region to be checked.
Returns true if the given point is inside the region defined by the given points.

Syntax

JScript 
public function PointInRegion( 
   x : double,
   y : double,
   pts : Object
) : boolean;

Parameters

x
The x value in World coordinates of the point to be checked.
y
The y value in World coordinates of the point to be checked.
pts
An array of points that define to region to be checked.

Return Value

True if the point is inside the region or false.

See Also