绘制一点临时箭头和一个带标签的临时箭头
/// <summary>
/// 绘制临时箭头
/// UFConstants.UF_DISP_WORK_VIEW_ONLY
/// UFConstants.UF_DISP_ALL_ACTIVE_MEMBER_VIEWS (-4)
/// UFConstants.UF_DISP_ALL_VIEWS_BUT_DRAWING (-3)
/// UFConstants.UF_DISP_VIEW_OF_LAST_CURSOR (-2)
/// UFConstants.UF_DISP_ALL_ACTIVE_VIEWS (-1)
/// UFConstants.UF_DISP_WORK_VIEW_ONLY 0
/// anchor 0 = Anchor point at base of staff
/// anchor 1 = Anchor point at tip of arrowhead
/// anchor 2 = Anchor point at base of arrowhead
/// </summary>
void DrawConehead(Vector3d vec, Point3d point, int display = UFConstants.UF_DISP_WORK_VIEW_ONLY, int anchor = 0)
{
var uf = UFSession.GetUFSession();
uf.Disp.Conehead(display, point.ToArray(), vec.ToArray(), anchor);
}
/// <summary>
/// 绘制临时箭头
/// UFConstants.UF_DISP_WORK_VIEW_ONLY
/// UFConstants.UF_DISP_ALL_ACTIVE_MEMBER_VIEWS (-4)
/// UFConstants.UF_DISP_ALL_VIEWS_BUT_DRAWING (-3)
/// UFConstants.UF_DISP_VIEW_OF_LAST_CURSOR (-2)
/// UFConstants.UF_DISP_ALL_ACTIVE_VIEWS (-1)
/// UFConstants.UF_DISP_WORK_VIEW_ONLY 0
/// anchor 0 = Anchor point at base of staff
/// anchor 1 = Anchor point at tip of arrowhead
/// anchor 2 = Anchor point at base of arrowhead
/// </summary>
void DrawConehead(Vector3d vec, Point3d point, string label, int display = UFConstants.UF_DISP_WORK_VIEW_ONLY, int anchor = 0)
{
var uf = UFSession.GetUFSession();
uf.Disp.LabeledConehead(display, point.ToArray(), vec.ToArray(), anchor, label);
}