Jump to content

Merging Geo_details

Recommended Posts

I guess my question is directed towards the folks as sesi. i've just been wanting to merge GEO_Details together and i'm a bit confused. The function defined in class GEO_Detail is:

void merge(GEO_Detail &src, const GB_PrimitiveGroup ...

why is the input not a CONST GEO_Detail*? generally when requesting a detail from somewhere else you receive a CONST as you would expect. what's the problem with being able to merge these into my gdp? i've cast those to a void* and then to a GEO_Detail (non-const) and done the merge, but that's awfully un-c++

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...