Go to the documentation of this file.
15 #include <CGAL/Kernel/global_functions.h>
43 template<
typename MeshT,
typename KernelT >
50 typedef typename Kernel::Point_3
Point;
51 typedef typename Kernel::Vector_3
Vector;
64 return CGAL::unit_normal(p1, p2, p3);
69 return typename Kernel::Construct_normal_3()(p1, p2, p3);
74 return CGAL::scalar_product(v1, v2);
151 template<
typename MeshT,
typename KernelT >
160 template<
typename MeshT,
typename KernelT >
static Scalar get_z(const Point &p)
static Scalar length(const Vector &v)
static Scalar get_x(const Point &p)
static const Point ORIGIN
Initialisation of static member ORIGIN of Geometry_traits_for_cgal class.
static Scalar dot_product(const Vector &v1, const Vector &v2)
static Scalar get_y(const Point &p)
static Vector sub_p(const Point &p1, const Point &p2)
static Vector unit_normal(const Point &p1, const Point &p2, const Point &p3)
static std::vector< ElementType > cross_product(const ElementType v1[DIM], const ElementType v2[DIM])
static Point sub_pv(const Point &p, const Vector &v)
static Point add_pv(const Point &p, const Vector &v)
static Vector scalar_mult(const Vector &v, Scalar s)
static Vector normal(const Point &p1, const Point &p2, const Point &p3)
Interfaces for plugins These interfaces will be used for different plugins.
static Vector add_v(const Vector &v1, const Vector &v2)
static Vector cross_product(const Vector &v1, const Vector &v2)
Geometry_traits_for_cgal(const Mesh &m)
static Vector normalize(const Vector &v)
This class represents an AIF structure. AIF structure can deal with both manifold and non-manifold su...
static Scalar length2(const Vector &v)
Geometry_traits_for_cgal Self
Many mesh representations of CGLA, e.g. CGAL::Exact_predicate_inexact_construction_kernel and CGAL::C...
static Scalar length(const Point &p1, const Point &p2)
static const Vector NULL_VECTOR
Initialisation of static member NULL_VECTOR of Geometry_traits_for_cgal class.
static Vector sub_v(const Vector &v1, const Vector &v2)