跳到主要内容

IDP.Math.KGeomFace2d.containsPoint() method

判断输入点是否位于面上。

Whether the input point is in the face2d.

Signature:

containsPoint(point: KPoint2d, bIncludeOn?: boolean): boolean;

Links: containsPoint(point: KPoint2d, bIncludeOn?: boolean): boolean;

Parameters

Parameter

Type

Description

point

KPoint2d

输入点。

The input point.

bIncludeOn

boolean

(Optional) 是否考虑边界, 默认不考虑。

Whether to consider the case: input point is on the face2d's boundary. True means the point is on the boundary of the face2d is also be think in face2d. Default value is false.

Returns:

boolean

返回输入点是否在面上。

Return true if the point is in face2d.