Lines Matching refs:corners
285 } corners[] = in doesLineSegmentExitDiamond() local
294 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(corners); ++ndx) in doesLineSegmentExitDiamond()
296 const tcu::Vector<deInt64,2> p = diamondCenter + corners[ndx].dp; in doesLineSegmentExitDiamond()
305 if (corners[ndx].lineBehavior == DiamondCorners::CORNER_EDGE_CASE_HIT) in doesLineSegmentExitDiamond()
309 if (corners[ndx].lineBehavior == DiamondCorners::CORNER_EDGE_CASE_HIT_FIRST_QUARTER && in doesLineSegmentExitDiamond()
314 if (corners[ndx].lineBehavior == DiamondCorners::CORNER_EDGE_CASE_HIT_SECOND_QUARTER && in doesLineSegmentExitDiamond()
320 if (lineInCornerAngleRange(line, corners[ndx].dp)) in doesLineSegmentExitDiamond()
322 const bool startIsInside = corners[ndx].pointInclusive || p != line.m_v0; in doesLineSegmentExitDiamond()
323 const bool endIsOutside = !corners[ndx].pointInclusive || p != line.m_v1; in doesLineSegmentExitDiamond()
333 if (corners[ndx].endBehavior == DiamondCorners::CORNER_END_CASE_DIRECTION || in doesLineSegmentExitDiamond()
334 corners[ndx].endBehavior == DiamondCorners::CORNER_END_CASE_DIRECTION_AND_FIRST_QUARTER || in doesLineSegmentExitDiamond()
335 corners[ndx].endBehavior == DiamondCorners::CORNER_END_CASE_DIRECTION_AND_SECOND_QUARTER) in doesLineSegmentExitDiamond()
338 if (lineInCornerAngleRange(line, corners[ndx].dp)) in doesLineSegmentExitDiamond()
343 if (corners[ndx].endBehavior == DiamondCorners::CORNER_END_CASE_DIRECTION_AND_FIRST_QUARTER && in doesLineSegmentExitDiamond()
347 if (corners[ndx].endBehavior == DiamondCorners::CORNER_END_CASE_DIRECTION_AND_SECOND_QUARTER && in doesLineSegmentExitDiamond()
356 if (corners[ndx].startBehavior == DiamondCorners::CORNER_START_CASE_OUTSIDE) in doesLineSegmentExitDiamond()
359 if (lineInCornerOutsideAngleRange(line, corners[ndx].dp)) in doesLineSegmentExitDiamond()
364 if (corners[ndx].startBehavior == DiamondCorners::CORNER_START_CASE_POSITIVE_Y_45 && in doesLineSegmentExitDiamond()
371 if (corners[ndx].startBehavior == DiamondCorners::CORNER_START_CASE_NEGATIVE_Y_45 && in doesLineSegmentExitDiamond()