It is possible to control the loading of particular components of display data into the ring structure. For example, some algorithms only operate on polygons, so loading lines and triangle strips is not desirable. Also, some subclasses of adjacency_filter explicitly set which components to load, and may ignore the value set by the user.
NOTE: if loading polygons is enabled and loading triangle strips is disabled, then triangle strips are automatically converted into polygons.
load_polygons boolean to specify whether to load polygons.
load_triangle_strips boolean to specify whether to load triangle strips.
build_links boolean to control whether or not to build links. If links are not built, then geometric primitive neighbor traversal is not possible.
load_lines? get the value of the load_lines instance variable.
load_lines= value set the value of the load_lines instance variable.
load_polygons_on!/off! turn on/off the loading of polygons. Default is on.
load_polygons? get the value of the load_polygons instance variable.
load_polygons= value set the value of the load_polygons instance variable.
load_triangle_strips_on!/off! turn on/off the loading of triangle_strips. Default is on.
load_triangle_strips? get the value of the load_triangle_strips instance variable.
load_triangle_strips= value set the value of the load_triangle_strips instance variable.
turn on/off the building of the links array. In some cases only the loading/conversion of data is useful, not the traversal operators.
turns on the loading of all geometric primitives (lines, polygons, triangle strips)
turns off the loading of all geometric primitives (lines, polygons, triangle strips)
get the value of the build_links boolean.
get the value of the build_links boolean.
load_data internal method to cause data to load
free_data internal method to free previously loaded data.