KInferenceResult
kds-plugin-document / Exports / KInferenceResult
Interface: KInferenceResult
推断吸附结果
The KInferenceResult class represents the inference result.
Table of contents
Properties
Properties
entity
• Optional entity: KEntity | KArchFace
吸附图形实体
The inference entity from which we get the inference point. NOTE: The inference entities can only be the following types: KEntityType.Vertex, KEntityType.Edge, KEntityType.Face, KEntityType.AuxiliaryBoundedCurve, KEntityType.AuxiliaryLine, KEntityType.GroupInstance, etc. If other objects from which we get the inference point, undefined will be returned.
Defined in
api.d.ts:4431
instancePath
• instancePath: KGroupInstance[]
被吸附图形实体所在的组实例的路径
The instance path the inference point. When the inference entity are from group instances, The group instances will be in the instance path.
Defined in
api.d.ts:4439
normal
• Optional normal: KVector3d
吸附点法向
The normal of the inference point.
Defined in
api.d.ts:4419
position
• position: KPoint3d
吸附点
The inference point.
Defined in
api.d.ts:4411