I'm new to open cascade and I want to initialize CAD software which enable the user to create a point, line, circle or sphere in general we can say basic Geometry object in a 3D space ...
I have already installed and build open cascade successfully on my system and every thing is working fine,, also I have created a small GUI using MFC on Microsoft Visual studio (VC9),,
but the thing is that How should I start??? and If any one can provide me with a code to create a point using its three coordinates in XYZ plane that will be appreciated
I have gone through the documentation of open cascade and I have gone through the "Reference Documentation/index.html" but the thing is that I could not understand the procedure of using these header files and Class references in my project.
so kindly if any one can provide me with a simple code that can be used in MFC and can create a point (using three coordinates) or a line ( passing by tow point ) in the workspace , that well be great
but a small question:
now to make this code run properly I need to include these Header files:
isn't it so ?????
and the class which I created (let say CCreate_Point) to create that point should be based on which Class ( I mean should the base class be ""Geom_CartesianPoint Class"" or some other classes) ???
Actually it is to confusing for me specially I had not much experience of Visual Programming..
and for these three coordinates (X-Coordinate, Y-Coordinate, Z-Coordinate) I have to get there value from the application controls i.e. Dialog box ????