How to use .hxx?

Helper: I am confused about how to use (#include).hxx. I try to include gp_Lin.hxx into my program. I only did include, not use it. I got about 40 error messages. Why?? And, is it possible that I also have to include other .hxx file to (only) draw a line. Thank for your help.

e-cocquebert's picture

When you use a specific class of cascade, you have to include the corresponding class which name is "Package_Class.hxx"

ex:

if you want to create a point "Pnt" from the package "gp" you have to include the file "gp_Pnt.hxx"

that's all

The main interest is to know easily the names of the files in which the classes are defined.