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

Missing GraphDS_DirectedGraph header file.

Shylesh Sangodkar's picture
Forums: 

Hi,

I can not locate the class declaration of
class "GraphDS_DirectedGraph". I found the
GraphDS_DirectedGraph.cdl under GraphDS package.

From where should i find it?

Best Regards
Shylesh

Shylesh Sangodkar
Computer Programmer
Phil Systems Ltd.
India.

fhchina's picture

#include

Do you mean this?

Fhchina

Shylesh Sangodkar's picture

Hi,

No!!.

I mean I need a .hxx files (class declararion) for GraphDS_DirectedGraph.

Infact many of such files are missing from
GraphDS package. Have a look at the folder
OpenCascade/src/GraphDS . You will notice
that function declarations are provided
but definitions are missing.

So if i just have .hxx file along with the
.lib file i can build my application. I dont
even need .gxx/.cxx files.

Rgds
Shylesh

Barbara's picture

As you cans see in the CDL file GraphDS_DirectedGraph.cdl located in :
src/GraphDS

Generic class DirectedGraph from GraphDS (GraphDS_Item as any ; GraphDS_Attribute as any)

It is a generic class and it not cannot be used directly.
To use it :
if you use WOK and the CDL description try :

class myDirectGraph instantiates DirectGraph from GraphDS ( myGraphItem from myGraphPackage , myGraphAttribute from myGraphPackage );

With this you will have a class :
myGraphPackage_myDirectGraph

Shylesh Sangodkar's picture

Hi,

How do i use WOK on WIN95?

Also If DirectedGraph is generic class, does it means that searching logic is NOT implemented in it?

Rgds
Shylesh

Shylesh Sangodkar's picture

AS I am new to OCAS I am really confused abt the whole thing of
using GraphDS related files in my application. Pls Help.

Shylesh Sangodkar
Computer Programmer
Phil Systems Ltd.
India.

fhchina's picture

Why not use BGL(Boost Graph Library)? They are generic programming style, highly extensible and customable. Just include some header. Have a look at www.boost.org.

Shylesh Sangodkar's picture

Hi,

thanks for suggestion but
Will it not be easy for me to use opencascade's graph searching technique which
is readily available for me rather then using another library. anyway i have to use opencascade for STEP file reading . I am not sure how good (if any) is the graph searching functionality provided by opencascae. pls comment

meantime i ll also look at BGL.

Shylesh

Shylesh Sangodkar's picture

Hi,

I dont understand why anybody is replying to my query regarding WOK on WINDOWS... i am sure somebody must be facing this problem.

Atleast Barbara from OCAS should answer it.

Best Regards
Shylesh

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.