Polygon.contains() method

Check whether this polygon contains a point.

Signature:

contains(point: Point): boolean;

Parameters

Parameter

Type

Description

point

Point

**Returns:**

boolean

Remarks

This takes holes into consideration. If a point falls within one of this polygon's holes, the result will be false.

Get in touch

We'd love to learn more about your vision and how we can help.

PressPrivacyTermsSupportCopyright © 2024 Core3D, Inc. All Rights Reserved.