Hello Everyone,
I have an MDL application which I am trying to move to Ustn Connect.
The Vector3d and point3d structure are part of V8 but I am having trouble finding them in CONNECT.
Any Suggestions?
Thanks
Peter
Sure you don't mena DPoint3d and DVector3d...?
Hi Peter,
Peter Howe said:Any Suggestions?
Use available documentation and also full text search in SDK folders:
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Thanks Jan,
Working on getting the include and namespace correct.
The Vector3d structure is defined in V8 - basetype.h
struct _vector2d { Point2d org; Point2d end; };struct _vector3d { Point3d org; Point3d end; };
Still working on context.
Without knowing the API call needed, here is a migration case (updating DVector to DRange) that may provide some help/direction needed: [CONNECT C++] DRange3D initialisation
If you can let us know what the old function (the type is required) is we may be able to provide a newer/improved class recommendation.
HTH,Bob
Peter Howe said:The Vector3d structure is defined in V8 - basetype.h
I know where Vector3d structure is defined, it's easy to find it ;-)
As Bob wrote, a main question is where and for what purpose this structure is used in your code. I think it's not used anywhere in V8i API.