MATLAB: Points which are inside a cone

coneheightinside pointsradius

Hello all, I have a query , I have a cone and I know its R and H . I also know the outer points of the cone .How I can get all points which lie inside the cone and describes the cone . thank you