Interface LineFeaturePickResult

The LineFeaturePickResult interface defines a pick result of a line.

The PickingFeatureAttachmentItem.feature may be an arc of circle feature, a point feature, a line feature or an OOBB feature.

In this case, the feature is a line with 2 points.


Events

interface LineFeaturePickResult {
    applicationFeatureId: number;
    pointA: Vector3;
    pointB: Vector3;
    type: FT_Line;
}

Hierarchy (view full)

Properties

applicationFeatureId: number

The strictly positive application feature id in case of an application feature pick. If 0, the picked feature belongs to an instance.

pointA: Vector3

The first point of the line feature.

pointB: Vector3

The second point of the line feature.

type: FT_Line

The type of the feature.