53#ifndef LASS_GUARDIAN_OF_INCLUSION_PRIM_LINE_SEGMENT_3D_H
54#define LASS_GUARDIAN_OF_INCLUSION_PRIM_LINE_SEGMENT_3D_H
78 typedef LineSegment3D<T, ParameterPolicy> TSelf;
79 typedef ParameterPolicy TParameterPolicy;
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 LineSegment3D<U, ParameterPolicy> Type;
100 LineSegment3D(
const TPoint& iTail,
const TPoint& iHead);
101 template <
typename PP2>
102 LineSegment3D(
const LineSegment3D<T, PP2>& other);
104 const TPoint& tail()
const;
106 const TPoint& head()
const;
109 const TPoint
point(TParam iT)
const;
110 const TValue
t(
const TPoint& iPoint)
const;
129template <
typename T,
class PPa,
class PPb>
133template <
typename T,
class PPa,
class PPb>
137template<
typename T,
class PP>
140template<
typename T,
class PP>
143template<
typename T,
class PP>
154#define LASS_PRIM_HAVE_PY_EXPORT_TRAITS_LINE_SEGMENT_3D
155#ifdef LASS_GUARDIAN_OF_INCLUSION_UTIL_PYOBJECT_PLUS_H
159#ifdef LASS_GUARDIAN_OF_INCLUSION_PRIM_PLANE_3D_H
163#ifdef LASS_GUARDIAN_OF_INCLUSION_PRIM_RAY_3D_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 TValue t(const TPoint &iPoint) const
Return parameter of projection of iPoint on line segment.
const TValue length() const
Return length of line segment.
const TVector vector() const
Return vector from tail to head.
const TValue distance(const TPoint &iPoint) const
Return distance of point to line segment.
const TPoint point(TParam iT) const
Return point on ray by it's parameter.
const TValue closestsPoint(const TPoint &iPoint, T &oT) const
t is parameter of closests point and return squared distance of a point to the line segment.
const TValue squaredDistance(const TPoint &iPoint) const
Return squared distance of a point to line segment.
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.