algorithmic modeling for Rhino
Hi,
writing a c# component (script), and i wonder if GH_Point3D is faster / smaller than Point3d (when having lists of many points).
I want to use the GH for internal processing of point data (c# Lists), and at the last step convert it back to Point3d for the output - is this the way to use it? If yes, is there a simple way to cast them back to Point3d (without iterating the list manually)?
thanks!
Tags:
GH_Point is significantly larger than Point3d. Point3d is as efficient as it gets, it's a struct which contains 3 doubles. GH_Point is a class which contains a Point3d and also reference data. This is usually just a null pointer, but that still takes 64 bits of memory on a 64-bit system.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by