![]() |
My Project
|
#include <gfan.h>
Public Member Functions | |
| facet () | |
| The default constructor. | |
| facet (const int &n) | |
| Constructor for lower dimensional faces. | |
| facet (const facet &f) | |
| The copy constructor. | |
| facet * | shallowCopy (const facet &f) |
| A shallow copy of facets. | |
| void | shallowDelete () |
| ~facet () | |
| The default destructor. | |
| void | setFacetNormal (int64vec *iv) |
| Comparison operator. | |
| int64vec * | getFacetNormal () const |
| Returns the facet normal. | |
| const int64vec * | getRef2FacetNormal () const |
| Return a reference to the facet normal. | |
| void | printNormal () const |
| Method to print the facet normal. | |
| void | setFlipGB (ideal I) |
| Store the flipped GB. | |
| ideal | getFlipGB () |
| Return the flipped GB. | |
| void | printFlipGB () |
| Print the flipped GB. | |
| void | setUCN (int n) |
| Set the UCN. | |
| int | getUCN () |
| Get the UCN Returns the UCN iff this != NULL, else -1. | |
| void | setInteriorPoint (int64vec *iv) |
| Store an interior point of the facet. | |
| int64vec * | getInteriorPoint () |
| const int64vec * | getRef2InteriorPoint () |
| volatile void | fDebugPrint () |
| Debugging function prints the facet normal an all (codim-2)-facets that belong to it. | |
Data Fields | |
| bool | isFlippable |
| Boolean value to indicate whether a facet is flippable or not This is also used to mark facets that nominally are flippable but which do not intersect with the positive orthant. | |
| facet * | next |
| facet * | prev |
| facet * | codim2Ptr |
| int | numCodim2Facets |
| unsigned | numRays |
| ring | flipRing |
Private Attributes | |
| int64vec * | fNormal |
| Inner normal of the facet, describing it uniquely up to isomorphism. | |
| int64vec * | interiorPoint |
| An interior point of the facet. | |
| int | UCN |
| Universal Cone Number The number of the cone the facet belongs to, Set in getConeNormals(). | |
| short | codim |
| The codim of the facet. | |
| ideal | flipGB |
| The Groebner basis on the other side of a shared facet. | |
Friends | |
| class | gcone |
| facet::facet | ( | ) |
The default constructor.
| facet::facet | ( | const int & | n | ) |
Constructor for lower dimensional faces.
| facet::~facet | ( | ) |
The default destructor.
| volatile void facet::fDebugPrint | ( | ) |
Debugging function prints the facet normal an all (codim-2)-facets that belong to it.
|
inline |
Returns the facet normal.
|
inline |
Return the flipped GB.
|
inline |
|
inline |
Get the UCN Returns the UCN iff this != NULL, else -1.
|
inline |
Print the flipped GB.
|
inline |
Method to print the facet normal.
|
inline |
Comparison operator.
Comparison of facets Stores the facet normal
| int64vec |
|
inline |
Store the flipped GB.
|
inline |
Store an interior point of the facet.
|
inline |
Set the UCN.
| void facet::shallowDelete | ( | ) |
|
private |
The Groebner basis on the other side of a shared facet.
In order not to have to compute the flipped GB twice we store the basis we already get when identifying search facets. Thus in the next step of the reverse search we can just copy the old cone and update the facet and the gcBasis. facet::flibGB is set via facet::setFlipGB() and printed via facet::printFlipGB
|
private |
|
private |
| bool facet::isFlippable |
Boolean value to indicate whether a facet is flippable or not This is also used to mark facets that nominally are flippable but which do not intersect with the positive orthant.
This check is done in gcone::getCodim2Normals
|
private |