IDP.Math.KGeomLib.createLine2d() method
创建一个KLine2d对象。
Creates an instance of KLine2d.
Signature:
createLine2d(point: KPoint2d, direction: KVector2d): KLine2d;
Links: createLine2d(point: KPoint2d, direction: KVector2d): KLine2d;
Parameters
Parameter | Type | Description |
---|---|---|
point | 二维直线的原点。 The origin point of the 2D line. | |
direction | 二维直线的方向。 The direction of the 2D line. |
Returns:
二维直线。
The 2D line.