Blender V4.3
blender::bke::pbvh::uv_islands::UVBorderEdge Struct Reference

#include <pbvh_uv_islands.hh>

Public Member Functions

UVBorderEdge
 UVBorderEdge (UVEdge *edge, UVPrimitive *uv_primitive)
 
UVVertexget_uv_vertex (int index)
 
const UVVertexget_uv_vertex (int index) const
 
const UVVertexget_other_uv_vertex () const
 
float length () const
 

Public Attributes

UVEdgeedge
 
bool tag = false
 
UVPrimitiveuv_primitive
 
bool reverse_order = false
 
int64_t index = -1
 
int64_t prev_index = -1
 
int64_t next_index = -1
 
int64_t border_index = -1
 

Detailed Description

Definition at line 207 of file pbvh_uv_islands.hh.

Constructor & Destructor Documentation

◆ UVBorderEdge()

blender::bke::pbvh::uv_islands::UVBorderEdge::UVBorderEdge ( UVEdge * edge,
UVPrimitive * uv_primitive )
explicit

Definition at line 1413 of file pbvh_uv_islands.cc.

Member Function Documentation

◆ get_other_uv_vertex()

const UVVertex * blender::bke::pbvh::uv_islands::UVBorderEdge::get_other_uv_vertex ( ) const

Get the uv vertex from the primitive that is not part of the edge.

Definition at line 1430 of file pbvh_uv_islands.cc.

References blender::bke::pbvh::uv_islands::UVPrimitive::get_other_uv_vertex(), and uv_primitive.

◆ get_uv_vertex() [1/2]

◆ get_uv_vertex() [2/2]

const UVVertex * blender::bke::pbvh::uv_islands::UVBorderEdge::get_uv_vertex ( int index) const

Definition at line 1424 of file pbvh_uv_islands.cc.

References index, and reverse_order.

◆ length()

float blender::bke::pbvh::uv_islands::UVBorderEdge::length ( ) const

Definition at line 1435 of file pbvh_uv_islands.cc.

References len_v2v2().

Referenced by blender::bke::pbvh::uv_islands::UVBorderCorner::uv().

Member Data Documentation

◆ border_index

int64_t blender::bke::pbvh::uv_islands::UVBorderEdge::border_index = -1

Definition at line 217 of file pbvh_uv_islands.hh.

◆ edge

UVEdge* blender::bke::pbvh::uv_islands::UVBorderEdge::edge

Definition at line 208 of file pbvh_uv_islands.hh.

Referenced by blender::bke::pbvh::uv_islands::extend_at_vert().

◆ index

int64_t blender::bke::pbvh::uv_islands::UVBorderEdge::index = -1

Definition at line 214 of file pbvh_uv_islands.hh.

Referenced by get_uv_vertex(), and get_uv_vertex().

◆ next_index

int64_t blender::bke::pbvh::uv_islands::UVBorderEdge::next_index = -1

Definition at line 216 of file pbvh_uv_islands.hh.

◆ prev_index

int64_t blender::bke::pbvh::uv_islands::UVBorderEdge::prev_index = -1

Definition at line 215 of file pbvh_uv_islands.hh.

◆ reverse_order

bool blender::bke::pbvh::uv_islands::UVBorderEdge::reverse_order = false

◆ tag

bool blender::bke::pbvh::uv_islands::UVBorderEdge::tag = false

◆ uv_primitive

UVPrimitive* blender::bke::pbvh::uv_islands::UVBorderEdge::uv_primitive

The documentation for this struct was generated from the following files: