Searched refs:cosHalfAngle (Results 1 – 2 of 2) sorted by relevance
183 const double cosHalfAngle = joinNormal.x * nextNormal->x + joinNormal.y * nextNormal->y; in addGeometry() local185 cosHalfAngle != 0 ? 1 / cosHalfAngle : std::numeric_limits<double>::infinity(); in addGeometry()187 …const bool isSharpCorner = cosHalfAngle < COS_HALF_SHARP_CORNER && prevCoordinate && nextCoordinat… in addGeometry()287 const int n = std::floor((0.5 - (cosHalfAngle - 0.5)) * 8); in addGeometry()
169 const double cosHalfAngle = extrude.x * bToC.x + extrude.y * bToC.y; in offsetLine() local170 extrude *= (1.0 / cosHalfAngle); in offsetLine()