GoDiagram Win Reference
IntersectionWithLine Method (GraduatedScaleLinear)

the value for the intersection point
Finds the value that corresponds to the point where the GraduatedScale and the line defined by p1 and p2 intersect.
Syntax
'Declaration
 
Public Overrides Function IntersectionWithLine( _
   ByVal p1 As PointF, _
   ByVal p2 As PointF, _
   ByRef val As Double _
) As Boolean
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
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GraduatedScaleLinear Class
GraduatedScaleLinear Members
Base Implementation in IntersectionWithLine

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback