跳到主要内容

IDP.Math.KGeomLib.createPoint2d() method

创建一个kpoint2d对象。

Creates an instance of KPoint2d.

Signature:

createPoint2d(x: number, y: number): KPoint2d;

Links: createPoint2d(x: number, y: number): KPoint2d;

Parameters

Parameter

Type

Description

x

number

二维点的x坐标。

The x value of the 2D point.

y

number

二维点的y坐标。

The y value of the 2D point.

Returns:

KPoint2d

二维点。

The 2D point.