MEPP2 Project
Public Types | Public Member Functions | Private Attributes | List of all members
Enriched_Triangle Class Reference

An enriched triangle. More...

#include <boolops_polyhedra.hpp>

Inheritance diagram for Enriched_Triangle:
Inheritance graph
Collaboration diagram for Enriched_Triangle:
Collaboration graph

Public Types

typedef AABB_Kernel::Point_3 Point_3
 3d point More...
 
typedef AABB_Kernel::FT FT
 number type used in the kernel More...
 

Public Member Functions

 Enriched_Triangle (Facet_handle &_f)
 Constructor. More...
 
Facet_handle facet ()
 Accessor. More...
 
template<typename Point3d >
Point_3 to_K (const Point3d &p)
 convert any 3d point in the kernel used by the AABB-tree More...
 

Private Attributes

Facet_handle f
 The handle of the facet used to build the triangle. More...
 

Detailed Description

An enriched triangle.

Definition at line 58 of file boolops_polyhedra.hpp.

Member Typedef Documentation

◆ FT

number type used in the kernel

Definition at line 69 of file boolops_polyhedra.hpp.

◆ Point_3

3d point

Definition at line 64 of file boolops_polyhedra.hpp.

Constructor & Destructor Documentation

◆ Enriched_Triangle()

Enriched_Triangle::Enriched_Triangle ( Facet_handle _f)
inline

Constructor.

creates a triangle a little bigger

Parameters
_f: handle of a triangular facet of a polyhedron

Definition at line 75 of file boolops_polyhedra.hpp.

Member Function Documentation

◆ facet()

Facet_handle Enriched_Triangle::facet ( )
inline

Accessor.

Returns
The handle of the facet used to build the triangle

Definition at line 96 of file boolops_polyhedra.hpp.

◆ to_K()

template<typename Point3d >
Point_3 Enriched_Triangle::to_K ( const Point3d p)
inline

convert any 3d point in the kernel used by the AABB-tree

Parameters
p: The point to convert
Returns
The 3d point converted

Definition at line 103 of file boolops_polyhedra.hpp.

Member Data Documentation

◆ f

Facet_handle Enriched_Triangle::f
private

The handle of the facet used to build the triangle.

Definition at line 110 of file boolops_polyhedra.hpp.


The documentation for this class was generated from the following file: