Loading [MathJax]/extensions/tex2jax.js

dune-mmesh (unstable)

pointfieldvector.hh File Reference

Helpers for conversion from CGAL::Point_x to DUNE::FieldVector. More...

#include <dune/common/fvector.hh>

Go to the source code of this file.

Typedefs

typedef CGAL::Exact_predicates_inexact_constructions_kernel Dune::PointKernel
 Convert FieldVector to CGAL Point.
 

Functions

template<class Kernel >
static FieldVector< typename Kernel::RT, 2 > Dune::makeFieldVector (const CGAL::Point_2< Kernel > &p)
 Helper function to create DUNE::FieldVector from CGAL::Point_2. More...
 
template<class Kernel >
static FieldVector< typename Kernel::RT, 2 > Dune::makeFieldVector (const CGAL::Vector_2< Kernel > &p)
 Helper function to create DUNE::FieldVector from CGAL::Vector_2. More...
 
template<class Kernel >
static FieldVector< typename Kernel::RT, 3 > Dune::makeFieldVector (const CGAL::Point_3< Kernel > &p)
 Helper function to create DUNE::FieldVector from CGAL::Point_3. More...
 
template<class Kernel >
static FieldVector< typename Kernel::RT, 3 > Dune::makeFieldVector (const CGAL::Vector_3< Kernel > &p)
 Helper function to create DUNE::FieldVector from CGAL::Vector_3. More...
 
template<typename ctype >
static auto Dune::makePoint (const Dune::FieldVector< ctype, 2 > &v)
 Convert FieldVector to CGAL Point 2.
 
template<typename ctype >
static auto Dune::makePoint (const Dune::FieldVector< ctype, 3 > &v)
 Convert FieldVector to CGAL Point 3.
 
template<class Geometry >
auto Dune::computeCircumcenter (const Geometry &geo)
 Compute circumcenter.
 

Detailed Description

Helpers for conversion from CGAL::Point_x to DUNE::FieldVector.

Function Documentation

◆ makeFieldVector() [1/4]

template<class Kernel >
static FieldVector< typename Kernel::RT, 2 > Dune::makeFieldVector ( const CGAL::Point_2< Kernel > &  p)
inlinestatic

Helper function to create DUNE::FieldVector from CGAL::Point_2.

Template Parameters
Kernelthe kernel of CGAL::Point_2

References Dune::makeFieldVector().

Referenced by Dune::computeCircumcenter(), and Dune::makeFieldVector().

◆ makeFieldVector() [2/4]

template<class Kernel >
static FieldVector< typename Kernel::RT, 3 > Dune::makeFieldVector ( const CGAL::Point_3< Kernel > &  p)
inlinestatic

Helper function to create DUNE::FieldVector from CGAL::Point_3.

Template Parameters
Kernelthe kernel of CGAL::Point_3

References Dune::makeFieldVector().

◆ makeFieldVector() [3/4]

template<class Kernel >
static FieldVector< typename Kernel::RT, 2 > Dune::makeFieldVector ( const CGAL::Vector_2< Kernel > &  p)
inlinestatic

Helper function to create DUNE::FieldVector from CGAL::Vector_2.

Template Parameters
Kernelthe kernel of CGAL::Vector_2

References Dune::makeFieldVector().

◆ makeFieldVector() [4/4]

template<class Kernel >
static FieldVector< typename Kernel::RT, 3 > Dune::makeFieldVector ( const CGAL::Vector_3< Kernel > &  p)
inlinestatic

Helper function to create DUNE::FieldVector from CGAL::Vector_3.

Template Parameters
Kernelthe kernel of CGAL::Vector_3

References Dune::makeFieldVector().

Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden & Uni Heidelberg  |  generated with Hugo v0.111.3 (Mar 17, 23:30, 2025)