Community
ReCap SDK Forum
Welcome to Autodesk’s ReCap SDK Forum. Share your knowledge, ask questions, get support and explore popular ReCap SDK topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RCPointBuffer: write 3D point data as float instead of double

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
lamorlette
660 Views, 3 Replies

RCPointBuffer: write 3D point data as float instead of double

To create RCS files, I use RCPointBuffer::setPositionAt(unsigned int index, const RCCommonNS::RCVector3d& point), which takes double (double precision floating point real number) data as input parameters.

Can we rather write float (single precision floating point real number) data in the RCS files?

3 REPLIES 3
Message 2 of 4
yan.fu
in reply to: lamorlette

May I ask the reason why you want o write float data as input parameters?

 

The float data will still be converted into double in Reality Solutions engine. So it won't make difference for RCS file size. 

Message 3 of 4
lamorlette
in reply to: yan.fu

I thought it could impact the RCS file size. If not, indeed, there is no point in writing floats in RCPointBuffer.

Message 4 of 4
yan.fu
in reply to: lamorlette

ReCap engine has done a lot work to reduce the size of .rcs file according to the coordinate value information, so it doesn't make difference if the input if float data or double data type.  

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report