Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Creating new entity type, which knows its bounding box
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-03-2012 09:01 AM
Hi
I have implemented a custom ENTITY type, derived from ENTITY_XYZ, which has data (geometry) and attributes attached.
How can I get the function api_get_entity_box to return the correct bounding box for my entity type?
Is there a function which I can override, or should I attach a dummy entity, which has the same bounding box?
I looked at the documentation on deriving custom entity classes, but could not figure out how this could be done.
Thanks for any suggestions!
Best regards
Bryn

