739088af9f
- aggiornamento versione.
73 lines
2.9 KiB
C++
73 lines
2.9 KiB
C++
/*****************************************************************************/
|
|
/* */
|
|
/* Copyright (C) 2002--2025 M. Held */
|
|
/* */
|
|
/* This code is not in the public domain. All rights reserved! Please make */
|
|
/* sure to read the full copyright statement contained in "README.txt" or in */
|
|
/* the "main" file of this code, such as "main.cc". */
|
|
/* */
|
|
/*****************************************************************************/
|
|
/* */
|
|
/* Written by: Martin Held */
|
|
/* Date: July 22, 2002 */
|
|
/* */
|
|
/* E-Mail: held@cs.sbg.ac.at */
|
|
/* Fax Mail: (+43 662) 8044-611 */
|
|
/* Voice Mail: (+43 662) 8044-6304 */
|
|
/* Snail Mail: Martin Held */
|
|
/* FB Informatik */
|
|
/* Universitaet Salzburg */
|
|
/* A-5020 Salzburg, Austria */
|
|
/* */
|
|
/*****************************************************************************/
|
|
|
|
/* */
|
|
/* get my header files */
|
|
/* */
|
|
#include "coord.h"
|
|
#include "vddata.h"
|
|
#include "ext_appl_inout.h"
|
|
#include "ext_appl_vroni_object.h"
|
|
|
|
|
|
/* */
|
|
/* VRONI object derived class implementation */
|
|
/* */
|
|
|
|
extApplVroniObject::extApplVroniObject()
|
|
{
|
|
|
|
}
|
|
|
|
extApplVroniObject::~extApplVroniObject()
|
|
{
|
|
|
|
}
|
|
|
|
bool extApplVroniObject::EdgeDataNeedInitializing()
|
|
{
|
|
return (e_data_init ? true : false);
|
|
}
|
|
|
|
|
|
void extApplVroniObject::InitializeAllEdgeData()
|
|
{
|
|
vr_bool unrestricted = 1;
|
|
vr_bool left_offset = 0;
|
|
vr_bool compute_mic = 0;
|
|
int mic_edge = NIL;
|
|
|
|
return InitializeEdgeData(unrestricted, left_offset, compute_mic, &mic_edge);
|
|
}
|
|
|
|
|
|
bool extApplVroniObject::IsDegenerateEdge(int ie)
|
|
{
|
|
if (GetEdgeFlagDeg(ie)) {
|
|
return true;
|
|
}
|
|
else {
|
|
return false;
|
|
}
|
|
}
|