Next: , Previous: Returning Information for Points, Up: Point Reference


22.11 Modifying

— Virtual function: bool set_on_free_store ([bool b = true])

This function is used in the template function create_new(). It sets on_free_store to true. See Point Reference; Data Members, and Point Reference; Constructors and Setting Functions.

— Function: void clear (void)

Sets all of the coordinates in all of the sets of coordinates (i.e., world_coordinates, user_coordinates, view_coordinates, and projective_coordinates) to 0 and resets transform

— Function: void clean ([int factor = 1])

Calls apply_transform() and sets the values of world_coordinates to 0, whose absolute values are less than epsilon() * factor .

— Function: void reset_transform (void)

Sets Transform to the identity Transform. Performed in apply_transform(), after the latter updates world_coordinates. Point Reference; Applying Transformations.