跳到主要内容

IDP.Math.KLine3d interface

KLine3d类代表三维空间的一条直线。 我们用一个点加一个向量来确定一条直。

The KLine3d class represents a line in 3d space.

Signature:

export interface KLine3d extends KCurve3d 

Links: export interface KLine3d extends KCurve3d

Extends: KCurve3d

Properties

Property

Modifiers

Type

Description

direction

readonly

KVector3d

获得直线的方向。

Get line's direction.

origin

readonly

KPoint3d

获得直线的原点。

Get line's origin point