|
Blender V5.0
|
Enumerations | |
| enum class | QuadDirection : int8_t { Edge_0_2 = 0 , Edge_1_3 = 1 } |
Functions | |
| static QuadDirection | calc_quad_direction_beauty (const float3 &v0, const float3 &v1, const float3 &v2, const float3 &v3) |
| static void | calc_quad_directions (const Span< float3 > positions, const Span< int > face_offsets, const Span< int > corner_verts, const TriangulateQuadMode quad_mode, MutableSpan< QuadDirection > directions) |
| static void | calc_corner_tris (const Span< int > face_offsets, const Span< QuadDirection > directions, MutableSpan< int3 > corner_tris) |
| static void | calc_corner_tris (const Span< float3 > positions, const OffsetIndices< int > src_faces, const Span< int > src_corner_verts, const IndexMask &quads, const TriangulateQuadMode quad_mode, MutableSpan< int3 > corner_tris) |
|
strong |
#Edge_0_2 #Edge_1_3 3 ----— 2 3 ----— 2 | 1 / | | \ 1 | | / | | \ | | / | | \ | | / 0 | | 0 \ | 0 ----— 1 0 ----— 1
| Enumerator | |
|---|---|
| Edge_0_2 | |
| Edge_1_3 | |
Definition at line 88 of file mesh_triangulate.cc.
|
static |
Definition at line 181 of file mesh_triangulate.cc.
References calc_corner_tris(), calc_quad_directions(), blender::offset_indices::OffsetIndices< T >::data(), data, blender::index_mask::IndexMask::foreach_segment(), blender::geometry::gather_or_reference(), blender::threading::EnumerableThreadSpecific< T >::local(), pos, blender::index_mask::IndexMask::size(), blender::Span< T >::size(), and blender::MutableSpan< T >::slice().
|
static |
Definition at line 159 of file mesh_triangulate.cc.
References blender::MutableSpan< T >::cast(), blender::MutableSpan< T >::copy_from(), Edge_0_2, Edge_1_3, i, blender::Span< T >::index_range(), and blender::MutableSpan< T >::slice().
Referenced by calc_corner_tris(), and blender::geometry::mesh_triangulate().
|
static |
Definition at line 97 of file mesh_triangulate.cc.
References BLI_polyfill_edge_calc_rotate_beauty__area(), Edge_0_2, Edge_1_3, is_quad_flip_v3(), UNLIKELY, and v2.
Referenced by calc_quad_directions().
|
static |
Definition at line 114 of file mesh_triangulate.cc.
References blender::geometry::Alternate, blender::geometry::Beauty, calc_quad_direction_beauty(), blender::math::distance_squared(), Edge_0_2, Edge_1_3, blender::MutableSpan< T >::fill(), blender::geometry::Fixed, i, blender::Span< T >::index_range(), blender::geometry::LongEdge, blender::geometry::ShortEdge, blender::Span< T >::slice(), and verts.
Referenced by calc_corner_tris().