How the frustum.near is calculated

Hi
I would like to ask how the near of Frustum is calculated, curious about the principle in this respect,please tell me if you know anything about it
Thanks