# an example for the globfit data format

# Number of Points
100000

# Here comes the 100000 Points
# point_x point_y point_z normal_x normal_y normal_z confidence
point_x point_y point_z normal_x normal_y normal_z confidence
... ...
# End of Points

# Number of Primitives
4

# Here comes the 4 Primitives

# Primitive 0
# plane normal_x normal_y normal_z d
normal_x normal_y normal_z d
# points idx_1 idx_2 idx_3 ... 
points idx_1 idx_2 idx_3 ... 

# Primitive 1
# sphere center_x center_y center_z radius
sphere center_x center_y center_z radius
# points idx_1 idx_2 idx_3 ... 
points idx_1 idx_2 idx_3 ... 

# Primitive 2
# cylinder normal_x normal_y normal_z point_x point_y point_z radius
cylinder normal_x normal_y normal_z point_x point_y point_z radius
# points idx_1 idx_2 idx_3 ... 
points idx_1 idx_2 idx_3 ... 

# Primitive 3
# cone normal_x normal_y normal_z apex_x apex_y apex_z angle
cone normal_x normal_y normal_z apex_x apex_y apex_z angle
# points idx_1 idx_2 idx_3 ... 
points idx_1 idx_2 idx_3 ... 


# End of Primitives
