跳到主要内容

IDP.Math.KLineSegment3d interface

KLineSegment3d类代表三维空间的一个线段。

The KLineSegment3d class represents a line segment in 3d space.

Signature:

export interface KLineSegment3d extends KBoundedCurve3d 

Links: export interface KLineSegment3d extends KBoundedCurve3d

Extends: KBoundedCurve3d

Properties

Property

Modifiers

Type

Description

direction

readonly

KVector3d

获得线段的方向。

Get line segment's direction.

middlePoint

readonly

KPoint3d

获得线段的中点。

Get line segment's middle point.