Blender V4.3
blender::bke::ccg Namespace Reference

Functions

IndexRange grid_range (const int grid_area, const int grid)
 
IndexRange grid_range (const CCGKey &key, const int grid)
 
IndexRange face_range (const OffsetIndices< int > faces, const int grid_area, const int face)
 
IndexRange face_range (const OffsetIndices< int > faces, const CCGKey &key, const int face)
 
int grid_xy_to_vert (const CCGKey &key, const int grid, const int x, const int y)
 

Function Documentation

◆ face_range() [1/2]

IndexRange blender::bke::ccg::face_range ( const OffsetIndices< int > faces,
const CCGKey & key,
const int face )
inline

Definition at line 354 of file BKE_subdiv_ccg.hh.

References face_range(), and CCGKey::grid_area.

◆ face_range() [2/2]

IndexRange blender::bke::ccg::face_range ( const OffsetIndices< int > faces,
const int grid_area,
const int face )
inline

Find the range of vertices in the entire geometry that are part of a single face.

Definition at line 349 of file BKE_subdiv_ccg.hh.

Referenced by face_range().

◆ grid_range() [1/2]

IndexRange blender::bke::ccg::grid_range ( const CCGKey & key,
const int grid )
inline

Definition at line 343 of file BKE_subdiv_ccg.hh.

References CCGKey::grid_area, and grid_range().

◆ grid_range() [2/2]

◆ grid_xy_to_vert()

int blender::bke::ccg::grid_xy_to_vert ( const CCGKey & key,
const int grid,
const int x,
const int y )
inline

Find the vertex index in the entire geometry at a specific coordinate in a specific grid.

Definition at line 360 of file BKE_subdiv_ccg.hh.

References CCG_grid_xy_to_index(), CCGKey::grid_area, and CCGKey::grid_size.