|
Blender V4.3
|
#include <pbvh_uv_islands.hh>
Public Member Functions | |
UVBorderCorner | |
| UVBorderCorner (UVBorderEdge *first, UVBorderEdge *second, float angle) | |
| float2 | uv (float factor, float min_uv_distance) |
| bool | connected_in_mesh () const |
| void | print_debug () const |
Public Attributes | |
| UVBorderEdge * | first |
| UVBorderEdge * | second |
| float | angle |
Definition at line 232 of file pbvh_uv_islands.hh.
|
explicit |
Definition at line 1236 of file pbvh_uv_islands.cc.
| bool blender::bke::pbvh::uv_islands::UVBorderCorner::connected_in_mesh | ( | ) | const |
Does this corner exist as 2 connected edges of the mesh.
During the extraction phase a connection can be made in uv-space that doesn't reflect to two connected edges inside the mesh.
Definition at line 1256 of file pbvh_uv_islands.cc.
References first, blender::bke::pbvh::uv_islands::UVBorderEdge::get_uv_vertex(), and second.
Referenced by print_debug().
| void blender::bke::pbvh::uv_islands::UVBorderCorner::print_debug | ( | ) | const |
Definition at line 1261 of file pbvh_uv_islands.cc.
References connected_in_mesh(), first, blender::bke::pbvh::uv_islands::UVBorderEdge::get_uv_vertex(), second, and blender::bke::pbvh::uv_islands::UVVertex::vertex.
Calculate a uv coordinate between the edges of the corner.
'min_uv_distance' is the minimum distance between the corner and the resulting uv coordinate. The distance is in uv space.
Definition at line 1241 of file pbvh_uv_islands.cc.
References first, blender::bke::pbvh::uv_islands::UVBorderEdge::get_uv_vertex(), blender::bke::pbvh::uv_islands::UVBorderEdge::length(), max_ff(), normalize(), result, second, blender::bke::pbvh::uv_islands::UVVertex::uv, and v.
| float blender::bke::pbvh::uv_islands::UVBorderCorner::angle |
Definition at line 235 of file pbvh_uv_islands.hh.
| UVBorderEdge* blender::bke::pbvh::uv_islands::UVBorderCorner::first |
Definition at line 233 of file pbvh_uv_islands.hh.
Referenced by connected_in_mesh(), print_debug(), and uv().
| UVBorderEdge* blender::bke::pbvh::uv_islands::UVBorderCorner::second |
Definition at line 234 of file pbvh_uv_islands.hh.
Referenced by connected_in_mesh(), print_debug(), and uv().