Searched refs:edgeLength (Results 1 – 2 of 2) sorted by relevance
107 …float edgeLength = edge.Unit() == DimensionUnit::PERCENT ? swiperLength * edge.Value() : edge.Conv… in GetValidEdgeLength() local108 if (!NearZero(edgeLength) && edgeLength > (swiperLength - indicatorLength)) { in GetValidEdgeLength()109 edgeLength = swiperLength - indicatorLength; in GetValidEdgeLength()111 if (edgeLength < 0.0) { in GetValidEdgeLength()112 edgeLength = 0.0; in GetValidEdgeLength()114 return edgeLength; in GetValidEdgeLength()
1852 …double edgeLength = edge.Unit() == DimensionUnit::PERCENT ? swiperLength * edge.Value() : Normaliz… in GetValidEdgeLength() local1853 if (!NearZero(edgeLength) && edgeLength > swiperLength - indicatorLength) { in GetValidEdgeLength()1854 edgeLength = swiperLength - indicatorLength; in GetValidEdgeLength()1856 if (edgeLength < 0.0) { in GetValidEdgeLength()1857 edgeLength = 0.0; in GetValidEdgeLength()1859 return edgeLength; in GetValidEdgeLength()