|
Blender V5.3
|
#include <pbvh_uv_islands.hh>
Public Member Functions | |
UVBorder | |
| bool | is_ccw (const UVIsland &island) const |
| void | flip_order () |
| float | outside_angle (const UVIsland &island, const UVBorderEdge &edge) const |
| void | setup_links (int64_t border_index) |
Public Attributes | |
| Vector< UVBorderEdge > | edges |
| VectorList< UVBorderEdge > | edges_extend_border |
Definition at line 195 of file pbvh_uv_islands.hh.
| 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 1195 of file pbvh_uv_islands.cc.
References edges.
| bool blender::bke::pbvh::uv_islands::UVBorder::is_ccw | ( | const UVIsland & | island | ) | const |
Check if the border is counter clock wise from its island.
Definition at line 1181 of file pbvh_uv_islands.cc.
References blender::copy_v2_v2(), blender::cross_poly_v2(), edges, blender::bke::pbvh::uv_islands::UVBorderEdge::get_other_uv_vert(), blender::bke::pbvh::uv_islands::UVBorderEdge::get_uv_vert(), and blender::bke::pbvh::uv_islands::UVIsland::uv_verts.
| float blender::bke::pbvh::uv_islands::UVBorder::outside_angle | ( | const UVIsland & | island, |
| const UVBorderEdge & | edge ) const |
Calculate the outside angle of the given vert.
Definition at line 1203 of file pbvh_uv_islands.cc.
References blender::angle_signed_v2v2(), blender::bke::pbvh::uv_islands::UVBorderEdge::get_uv_vert(), M_PI, blender::bke::pbvh::uv_islands::UVBorderEdge::prev, and blender::bke::pbvh::uv_islands::UVIsland::uv_verts.
Referenced by blender::bke::pbvh::uv_islands::UVIsland::extend_border().
| void blender::bke::pbvh::uv_islands::UVBorder::setup_links | ( | int64_t | border_index | ) |
Setup prev and next pointers to turn edges into a linked list.
Definition at line 1212 of file pbvh_uv_islands.cc.
References edges.
| Vector<UVBorderEdge> blender::bke::pbvh::uv_islands::UVBorder::edges |
Ordered list of UV Verts of the (original) border of this island.
Definition at line 197 of file pbvh_uv_islands.hh.
Referenced by blender::bke::pbvh::uv_islands::extract_border_from_edges(), flip_order(), is_ccw(), blender::bke::pbvh::uv_islands::reset_extendability_flags(), and setup_links().
| VectorList<UVBorderEdge> blender::bke::pbvh::uv_islands::UVBorder::edges_extend_border |
Definition at line 199 of file pbvh_uv_islands.hh.
Referenced by blender::bke::pbvh::uv_islands::extend_at_vert().