GoDigram for .NET Framework and .NET Core
Northwoods.Go.Instruments Namespace / GraduatedScaleLinear Class / IntersectionWithLine Method
the value for the intersection point
In This Topic
    IntersectionWithLine Method (GraduatedScaleLinear)
    In This Topic
    Finds the value that corresponds to the point where the GraduatedScale and the line defined by p1 and p2 intersect.
    Syntax
    public override bool IntersectionWithLine( 
       PointF p1,
       PointF p2,
       out double val
    )

    Parameters

    p1
    p2
    val
    the value for the intersection point

    Return Value

    true if this intersects with the infinite line through P1 and P2
    See Also