GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoGroup Class / GetNearestIntersectionPoint Method
In This Topic
    GetNearestIntersectionPoint Method (GoGroup)
    In This Topic
    A group's closest intersection point with a line is the closest such point among all of the visible children.
    Syntax
    public override bool GetNearestIntersectionPoint( 
       PointF p1,
       PointF p2,
       out PointF result
    )

    Parameters

    p1
    p2
    result
    Remarks
    Currently, this means that a point on a child object that does not intersect the line from p1 to p2 may be closer than a point on some other child that actually does intersect the line. This ignores child objects that are not GoObject.GoObject.Visible.
    See Also