236
Setting Inspection Conditions
Trigonometrical Function
•
•
•
Sine of angle DR (radian)
e.g.) b = SIN (Radian) * c
Cosine of angle DR (radian)
e.g.) a = COS (Radian) * c
Tangent of angle DR (radian)
e.g.) a / b = TAN (Radian)
Arcsine of angle DR (radian)
e.g.) Radian = ASIN (b / c)
Arccosine of angle DR (radian)
e.g.) Radian = ACOS (a / c)
Arctangent of angle DR (radian)
e.g.) Radian = ATAN (b / a)
e.g.) b = SIND (Degree) * c
e.g.) a = COSD(Degree) * c
e.g.) Degree = ASIND(b / c)
e.g.) Degree = ACOSD (a / c)
e.g.) Degree = ATAND (b / a)
e.g.) RAD(45) = 45 / 360 x 2π= 0.785
Geometric Function
MIDDLEY(X0,Y0,X1,Y1)
Coordinate X and Y of the middle point of two points Q0 (X0, Y0) and Q1 (X1,
Y1)
(a0,b0,c0,a1,b1,c1)
CPOINTY
Coordinate X and Y of the intersection of two lines L0 (a0x+b0y+c0=0) and L1
(a1x+b1y+c1=0)
If two lines are parallel, the judgement will be “ERR”.
ELINEPB (x0,y0,x1,y1)
ELINEPC (x0,y0,x1,y1)
Element a, b and c of a line L
(ax+by+c=0) which connects two points
(x0,y0) and (x1,y1).
(a0,b0,c0,a1,b1,c1)
Narrow intersecting angle DR (radian)
of two lines L0 (a0x+b0y+c0=0) and L1
(a1x+b1y+c1=0)
If two lines are parallel, the judgement
Distance between two points Q0 (X0,Y0) and Q1(X1,Y1) in pixels
Length of a perpendicular to line L
(a0x+b0y+c0=0) through point Q
(X0,Y0) in pixels
VPOINTY (X0,Y0, a,b,c)
Coordinate X and Y of Q1 which is a
intersection of line L (ax+by+c=0) and
a perpendicular to line L through point
Q0 (X0,Y0)