LineEntity
-
class
Selection.
LineEntity
()
Methods
Methods
getBestVertex
-
LineEntity.
getBestVertex
() Returns the vertex of the line that is closest to the selection point.
Clipped vertices are skipped. If the vertex is occluded, then
null
is returned.Return type: null | Point3
getBounding
-
LineEntity.
getBounding
() Gets the bounding box for the line entity
Returns: Bounding box for the line entity Return type: Box
getLineBits
-
LineEntity.
getLineBits
() Gets the kine bits for the selection Point.
Returns: The bits set on the line/edge. Return type: number
getLineId
-
LineEntity.
getLineId
() Gets the line identifier
Returns: the identifier of the line that was selected Return type: number
getPosition
-
LineEntity.
getPosition
() Gets the closest point on the selected line
Returns: the closest point on the line Return type: Point3
overlayIndex
-
LineEntity.
overlayIndex
() Returns: The index of the overlay the entity belongs to. Return type: number