Searched refs:nextNormal (Results 1 – 1 of 1) sorted by relevance
108 optional<Point<double>> nextNormal; in addGeometry() local115 … nextNormal = util::perp(util::unit(convertPoint<double>(firstCoordinate - *currentCoordinate))); in addGeometry()138 if (nextNormal) { in addGeometry()139 prevNormal = *nextNormal; in addGeometry()150 …nextNormal = nextCoordinate ? util::perp(util::unit(convertPoint<double>(*nextCoordinate - *curren… in addGeometry()156 prevNormal = *nextNormal; in addGeometry()165 Point<double> joinNormal = *prevNormal + *nextNormal; in addGeometry()183 const double cosHalfAngle = joinNormal.x * nextNormal->x + joinNormal.y * nextNormal->y; in addGeometry()246 joinNormal = *nextNormal * -1.0; in addGeometry()248 …const double direction = prevNormal->x * nextNormal->y - prevNormal->y * nextNormal->x > 0 ? -1 : … in addGeometry()[all …]