Geom Software - C++ Programming and Geometry Libraries
Fade3D Documentation pages v0.99
/home/geom/repo/dev/geomDev/dt3/dt3Library/Facet3.h
1
// Copyright (C) Geom Software e.U, Bernhard Kornberger, Graz/Austria
2
//
3
// This file is part of the Fade3D library. The student license is free
4
// of charge and covers personal non-commercial research. Licensees
5
// holding a commercial license may use this file in accordance with
6
// the Commercial License Agreement.
7
//
8
// This software is provided AS IS with NO WARRANTY OF ANY KIND,
9
// INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS
10
// FOR A PARTICULAR PURPOSE.
11
//
12
// Please contact the author if any conditions of this licensing are
13
// not clear to you.
14
//
15
// Author: Bernhard Kornberger, bkorn (at) geom.at
16
// https://www.geom.at
17
18
19
#pragma once
20
#include "definitions.h"
21
#include "Edge3.h"
22
23
namespace
FADE3D
{
34
class
CLASS_DECLSPEC
Facet3
35
{
36
public
:
42
Facet3
(
Tet3
* pTet_,
const
int
opp3_);
43
46
Tet3
* getTet();
47
52
int
getOpp3Index()
const
;
53
56
int
getIntraTetIndex(
int
ith)
const
;
57
62
Edge3
getEdge(
int
ith)
const
;
63
74
bool
operator==(
const
Facet3
& other)
const
;
77
bool
operator!=(
const
Facet3
& other)
const
;
78
private
:
79
Tet3
* pTet;
80
int
opp3ICI;
81
};
82
83
84
85
86
}
// NAMESPACE FADE3D
87
88
FADE3D
Definition:
Ball3.h:16
FADE3D::Tet3
Tetrahedron.
Definition:
Tet3.h:46
FADE3D::Facet3
Side of a tetrahedron.
Definition:
Facet3.h:34
FADE3D::Edge3
Edge of a tetrahedron.
Definition:
Edge3.h:43
Facet3.h