For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

How to use .hxx?

Hui-Haisang Chang's picture
Forums: 

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.

Etienne 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.