Home
last modified time | relevance | path

Searched refs:PI_CIRCLE (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/base/security/security_component_manager/frameworks/common/src/
H A Dsec_comp_tool.cpp25 static constexpr double PI_CIRCLE = 3.1415926; variable
91 return r * hsv.v * hsv.s * cos(hsv.h / ONE_HUNDRED_EIGHTY_ANGLE * PI_CIRCLE); in GetHsvDisX()
96 return r * hsv.v * hsv.s * sin(hsv.h / ONE_HUNDRED_EIGHTY_ANGLE * PI_CIRCLE); in GetHsvDisY()
108 double h = rDef * cos(angle / ONE_HUNDRED_EIGHTY_ANGLE * PI_CIRCLE); in HsvDistance()
109 double r = rDef * sin(angle / ONE_HUNDRED_EIGHTY_ANGLE * PI_CIRCLE); in HsvDistance()