44 using namespace Eigen;
60 double Height()
const {
return height_; }
84 int u()
const {
return u_; }
85 int v()
const {
return v_; }
86 double w()
const {
return w_; }
129 void UpdateDualization(VectorXd *ptr_x);
132 int UpdateDualization(
WF_edge *e);
133 int RemoveUpdation(
WF_edge *e);
150 int u(
int ei) {
return (*edge_list_)[ei]->u(); }
151 int v(
int ei) {
return (*edge_list_)[ei]->v(); }
152 int e_orig_id(
int u) {
return (*vert_list_)[u]->orig_id(); }
153 int e_dual_id(
int u) {
return (*vert_list_)[u]->dual_id(); }
154 int v_orig_id(
int i) {
return (*face_list_)[i]->orig_id(); }
155 int v_dual_id(
int i) {
return (*face_list_)[i]->dual_id(); }
157 double Weight(
int ei) {
return (*edge_list_)[ei]->w(); }
159 double Height(
int ei) {
return (*vert_list_)[ei]->Height(); }
160 double maxZ() {
return maxz_; }
161 double minZ() {
return minz_; }
169 WF_edge *e1 = ptr_frame_->GetEdge(e_orig_id(i));
170 WF_edge *e2 = ptr_frame_->GetEdge(e_orig_id(j));
176 if (u1 == u2 || u1 == v2 || v1 == u2 || v1 == v2)
void SetOrigId(int orig_id)
WF_vert * CentralVert() const
vector< DualFace * > * GetFaceList()
vector< DualFace * > * face_list_
bool isExistingVert(int u)
vector< DualVertex * > * GetVertList()
GLubyte GLubyte GLubyte GLubyte w
int getExistingVertValence(int u)
void SetHeight(double height)
void SetOrigId(int orig_id)
bool isAdjacent(int i, int j)
WF_vert * CentralVert(int ei)
vector< DualEdge * > * edge_list_
vector< vector< bool > > is_adjacent_
GLint GLsizei GLsizei height
vector< bool > exist_edge_
void SetDualId(int dual_id)
vector< DualVertex * > * vert_list_
vector< int > exist_vert_
bool isExistingEdge(WF_edge *e)
GLfloat GLfloat GLfloat v2
DualEdge(int u, int v, double w, WF_vert *vert)
void SetDualId(int dual_id)
vector< DualEdge * > * GetEdgeList()