Convert Circle Coordinates to Flat Plane

Need some trig help...

I have circle parameters that include the center X, Y, and Z along with the axis X, Y, and Z.  I am looking for a subroutine/function that will convert the coordinates to a normal plane.  I figure there is a calculation, and that will help if there is no routine.

Thanks - Dave

SolidworksApi macros