KPointPickResult
kds-plugin-document / Exports / KPointPickResult
Interface: KPointPickResult
点选结果
The KPointPickResult class represents the point pick result.
Table of contents
Methods
Methods
getAllPicked
▸ getAllPicked(): KEntity
[]
获取选中的所有图形实体
Get all the picked entities. NOTE: The picked entities are arranged from near to far.
Returns
KEntity
[]
All the picked entities.
Defined in
api.d.ts:3532
getFrontPicked
▸ getFrontPicked(): KEntity
获取在被选中的图形实体中,排在最前面的那一个实体(第 0 号元素)
Get the front picked entity.
Returns
The front picked entity.
Defined in
api.d.ts:3541
getFrontPoint
▸ getFrontPoint(): KPoint3d
获取在被选中的图形实体中,排在最前面的那一个实体的被选中的 3D 点
Get the front picked point.
Returns
The front picked point.
Defined in
api.d.ts:3550
getSize
▸ getSize(): number
获取选中的图形实体的数量
Get the size of all the picked entities.
Returns
number
The size of all the picked entities.
Defined in
api.d.ts:3523