bf3a3fa297
- aggiunta libreria vroni 7.6.
47 lines
2.1 KiB
C
47 lines
2.1 KiB
C
/*****************************************************************************/
|
|
/* */
|
|
/* Copyright (C) 2007-2023 M. Held, S. Huber */
|
|
/* */
|
|
/* 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: Stefan Huber, Martin Held */
|
|
/* */
|
|
/* 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 */
|
|
/* */
|
|
/*****************************************************************************/
|
|
|
|
|
|
#ifndef VRONI_ARC_COMMON_H
|
|
#define VRONI_ARC_COMMON_H
|
|
|
|
|
|
//Uncomment this line to print quality messages
|
|
//#define ARC_QUALITY_MSG
|
|
|
|
|
|
/** Test if pnt is in arc-cone. */
|
|
inline vr_bool vroniObject::IsPntInArcCone(int arc, coord pnt)
|
|
{
|
|
return IsPntInArcConeEps(arc, pnt, ZERO);
|
|
}
|
|
|
|
/** Test if pnt is in arc-cone. */
|
|
inline vr_bool vroniObject::IsPntInArcConeStrict(int arc, coord pnt)
|
|
{
|
|
return IsPntInArcConeEps(arc, pnt, -ZERO);
|
|
}
|
|
|
|
#endif
|
|
|
|
|