53#ifndef LASS_GUARDIAN_OF_INCLUSION_PRIM_LINE_SEGMENT_2D_H
54#define LASS_GUARDIAN_OF_INCLUSION_PRIM_LINE_SEGMENT_2D_H
78 typedef LineSegment2D<T, ParameterPolicy> TSelf;
79 typedef ParameterPolicy TParameterPolicy;
81 typedef Point2D<T> TPoint;
82 typedef typename TPoint::TVector TVector;
83 typedef typename TPoint::TNumTraits TNumTraits;
84 typedef typename TPoint::TValue TValue;
85 typedef typename TPoint::TParam TParam;
86 typedef typename TPoint::TReference TReference;
87 typedef typename TPoint::TConstReference TConstReference;
91 dimension = TPoint::dimension
94 template <
typename U>
struct Rebind
96 typedef LineSegment2D<U, ParameterPolicy> Type;
100 LineSegment2D(
const TPoint& tail,
const TPoint& head);
102 const TPoint& tail()
const;
104 const TPoint& head()
const;
108 const TValue
t(
const TPoint&
point)
const;
121template <
typename T,
class PP>
124template <
typename T,
class PP>
127template <
typename T,
class PPa,
class PPb>
130template <
typename T,
class PPa,
class PPb>
133template <
typename T,
class PPa,
class PPb>
136template<
typename T,
class PP>
139template<
typename T,
class PP>
142template<
typename T,
class PP>
151#define LASS_PRIM_HAVE_PY_EXPORT_TRAITS_LINE_SEGMENT_2D
152#ifdef LASS_GUARDIAN_OF_INCLUSION_UTIL_PYOBJECT_PLUS_H
156#ifdef LASS_GUARDIAN_OF_INCLUSION_PRIM_RAY_2D_H
Output stream for writing a selection of geometric primitives to matlab M files.
Output stream for writing a selection of geometric primitives to XML files.
const TVector vector() const
Return vector from tail to head.
const TPoint point(TParam t) const
Return point on ray by it's parameter.
const TValue length() const
Return length of line segment.
const TValue t(const TPoint &point) const
set of geometrical primitives
Result
meta information on the result you have from an operation like an intersection ...
Library for Assembled Shared Sources.
Parameters supplied to functions must be in the range of the primitive.