Click or drag to resize

FoundTransitionGetTransitionPointCross(Double, Point, Point, Point, Point) Method

Calculates four points p1, p2, p3, p4 around the transition point in distance size forming a cross along the transition line defined by P1 and P2.
P1                    /                                         
o                    + p3                                       
      o      p1     /                                           
            +      /                                            
                  oTP    p2           o                         
                 /      +      P2    /                          
                /             o     /                           
               + p4                / size                       
              /                   /                             
                                 /
                                o

Namespace: RAYLASE.Marker.JobElement.ImageProcessing
Assembly: RAYLASE.Marker.JobElement (in RAYLASE.Marker.JobElement.dll) Version: 2.19.0
Syntax
C#
public void GetTransitionPointCross(
	double size,
	out Point p1,
	out Point p2,
	out Point p3,
	out Point p4
)

Parameters

size  Double
The distance between two points on the line.
p1  Point
Point 1 forming the first point of the first cross line.
p2  Point
Point 2 forming the second point of the first cross line.
p3  Point
Point 1 forming the first point of the second cross line.
p4  Point
Point 2 forming the second point of the second cross line.
See Also