51#ifndef LASS_GUARDIAN_OF_INCLUSION_PRIM_DISK_3D_H
52#define LASS_GUARDIAN_OF_INCLUSION_PRIM_DISK_3D_H
69 typedef Disk3D<T> TSelf;
72 typedef typename TPoint::TVector TVector;
74 typedef typename TPoint::TValue TValue;
75 typedef typename TPoint::TParam TParam;
76 typedef typename TPoint::TReference TReference;
77 typedef typename TPoint::TConstReference TConstReference;
78 typedef typename TPoint::TNumTraits TNumTraits;
80 typedef typename TPlane::TUV TUV;
82 enum { dimension = TPoint::dimension };
84 template <
typename U>
struct Rebind
86 typedef Disk3D<U> Type;
90 Disk3D(
const TPoint& center,
const TVector& normal, TParam radius);
92 const TPoint& center()
const;
93 void setCenter(
const TPoint& center);
95 const TVector& normal()
const;
96 void setNormal(
const TVector& normal);
98 TConstReference radius()
const;
104 const TPoint point(TParam u, TParam v)
const;
105 const TPoint point(
const TUV& uv)
const;
106 const TUV uv(
const TPoint& point)
const;
116template<
typename T> std::ostream& operator<<(std::ostream& stream,
const Disk3D<T>& disk);
125#ifdef LASS_GUARDIAN_OF_INCLUSION_PRIM_AABB_3D_H
129#ifdef LASS_GUARDIAN_OF_INCLUSION_PRIM_SPHERE_3D_H
133#ifdef LASS_GUARDIAN_OF_INCLUSION_PRIM_RAY_3D_H
Output stream for writing a selection of geometric primitives to XML files.
bool isValid() const
return true if sphere has a non-negative radius
const TValue area() const
return area of surface of sphere
const TPlane & plane() const
return area of surface of sphere
set of geometrical primitives
Library for Assembled Shared Sources.