Changeset 103:c51d75904a48 in rrlib_geometry
- Timestamp:
- 29.12.2020 07:36:50 (2 years ago)
- Branch:
- 17.03
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tLineSegment.h
r82 r103 141 141 typedef tLineSegment<3, double> tLineSegment3D; 142 142 143 144 template <size_t Tdimension, typename TElement> 145 bool operator==(const tLineSegment<Tdimension, TElement> &lhs, const tLineSegment<Tdimension, TElement> &rhs) 146 { 147 return lhs.Begin() == rhs.Begin() && lhs.End() == rhs.End(); 148 } 149 150 template <size_t Tdimension, typename TElement> 151 bool operator!=(const tLineSegment<Tdimension, TElement> &lhs, const tLineSegment<Tdimension, TElement> &rhs) 152 { 153 return !(lhs == rhs); 154 } 155 143 156 //---------------------------------------------------------------------- 144 157 // Explicit template instantiation
Note: See TracChangeset
for help on using the changeset viewer.