3dsketch points virtual sharp corner

     I am creating tube model in solidworks API (using X,Y,Z coordinate points in 3dsketch,fillet and sweep features).  After that , I got all the 3d sketch points from model  through .Getsketchpoints2 function.

But, Output of this function x,y and Z coordinate points are not in sequence.

Also, how can i identify the center and virtual sharp corner points of Arc and except construction geomentry lines coordinates.(filter the construction line coordinates).

SolidworksApi macros