|
Blender V4.3
|
#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 257 of file pbvh_uv_islands.hh.
|
static |
Definition at line 1137 of file pbvh_uv_islands.cc.
References edges, blender::bke::pbvh::uv_islands::UVBorderEdge::get_uv_vertex(), 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 1193 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 1179 of file pbvh_uv_islands.cc.
References copy_v2_v2(), cross_poly_v2(), 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 1203 of file pbvh_uv_islands.cc.
References angle_signed_v2v2(), and M_PI.
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 1222 of file pbvh_uv_islands.cc.
References 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 1210 of file pbvh_uv_islands.cc.
References 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 259 of file pbvh_uv_islands.hh.
Referenced by blender::bke::pbvh::uv_islands::extend_at_vert(), extract_from_edges(), flip_order(), and blender::bke::pbvh::uv_islands::sharpest_border_corner().