|
Blender V5.0
|
#include <pbvh_uv_islands.hh>
Public Attributes | |
| Vector< UVBorderEdge > | edges |
UVBorder | |
| bool | is_ccw () const |
| void | flip_order () |
| float | outside_angle (const UVBorderEdge &edge) const |
| void | update_indexes (uint64_t border_index) |
| void | remove (int64_t index) |
| static std::optional< UVBorder > | extract_from_edges (Vector< UVBorderEdge > &edges) |
Definition at line 252 of file pbvh_uv_islands.hh.
|
static |
Definition at line 1124 of file pbvh_uv_islands.cc.
References edges, blender::bke::pbvh::uv_islands::UVBorderEdge::get_uv_vertex(), i, blender::bke::pbvh::uv_islands::UVBorderEdge::tag, and blender::bke::pbvh::uv_islands::UVVertex::uv.
Referenced by blender::bke::pbvh::uv_islands::UVPrimitive::extract_border(), and blender::bke::pbvh::uv_islands::UVIsland::extract_borders().
| void blender::bke::pbvh::uv_islands::UVBorder::flip_order | ( | ) |
Flip the order of the verts, changing the order between CW and CCW.
Definition at line 1180 of file pbvh_uv_islands.cc.
References edges, and update_indexes().
| bool blender::bke::pbvh::uv_islands::UVBorder::is_ccw | ( | ) | const |
Check if the border is counter clock wise from its island.
Definition at line 1166 of file pbvh_uv_islands.cc.
References copy_v2_v2(), cross_poly_v2(), edges, blender::bke::pbvh::uv_islands::UVBorderEdge::get_other_uv_vertex(), blender::bke::pbvh::uv_islands::UVBorderEdge::get_uv_vertex(), and blender::bke::pbvh::uv_islands::UVVertex::uv.
| float blender::bke::pbvh::uv_islands::UVBorder::outside_angle | ( | const UVBorderEdge & | edge | ) | const |
Calculate the outside angle of the given vert.
Definition at line 1190 of file pbvh_uv_islands.cc.
References angle_signed_v2v2(), edges, blender::bke::pbvh::uv_islands::UVBorderEdge::get_uv_vertex(), M_PI, blender::bke::pbvh::uv_islands::UVBorderEdge::prev_index, and blender::bke::pbvh::uv_islands::UVVertex::uv.
Referenced by blender::bke::pbvh::uv_islands::sharpest_border_corner().
| void blender::bke::pbvh::uv_islands::UVBorder::remove | ( | int64_t | index | ) |
Remove edge from the border. updates the indexes.
Definition at line 1209 of file pbvh_uv_islands.cc.
References edges, and update_indexes().
Referenced by blender::bke::pbvh::uv_islands::extend_at_vert().
| void blender::bke::pbvh::uv_islands::UVBorder::update_indexes | ( | uint64_t | border_index | ) |
Definition at line 1197 of file pbvh_uv_islands.cc.
References edges, i, and next.
Referenced by blender::bke::pbvh::uv_islands::extend_at_vert(), flip_order(), and remove().
| Vector<UVBorderEdge> blender::bke::pbvh::uv_islands::UVBorder::edges |
Ordered list of UV Verts of the border of this island.
Definition at line 254 of file pbvh_uv_islands.hh.
Referenced by blender::bke::pbvh::uv_islands::extend_at_vert(), extract_from_edges(), flip_order(), is_ccw(), outside_angle(), remove(), blender::bke::pbvh::uv_islands::reset_extendability_flags(), blender::bke::pbvh::uv_islands::sharpest_border_corner(), and update_indexes().