|
Boost-Commit : |
From: lucanus.j.simonson_at_[hidden]
Date: 2008-05-29 17:38:34
Author: ljsimons
Date: 2008-05-29 17:38:33 EDT (Thu, 29 May 2008)
New Revision: 45925
URL: http://svn.boost.org/trac/boost/changeset/45925
Log:
minor fixes
Text files modified:
sandbox/gtl/gtl/gtl.h | 4 ++--
sandbox/gtl/gtl/interval_concept.h | 2 +-
sandbox/gtl/gtl/point_concept.h | 2 +-
sandbox/gtl/gtl/polygon_formation.h | 4 ++--
sandbox/gtl/gtl/polygon_set_data.h | 4 ++--
sandbox/gtl/gtl/rectangle_concept.h | 6 +++---
6 files changed, 11 insertions(+), 11 deletions(-)
Modified: sandbox/gtl/gtl/gtl.h
==============================================================================
--- sandbox/gtl/gtl/gtl.h (original)
+++ sandbox/gtl/gtl/gtl.h 2008-05-29 17:38:33 EDT (Thu, 29 May 2008)
@@ -84,9 +84,9 @@
}
template <typename geometry_type_1, typename geometry_type_2>
-bool equivilence(const geometry_type_1& lvalue, const geometry_type_2& rvalue) {
+bool equivalence(const geometry_type_1& lvalue, const geometry_type_2& rvalue) {
typename geometry_traits<geometry_type_1>::geometry_concept concept_instantiation;
- return concept_instantiation.equivilence(lvalue, rvalue);
+ return concept_instantiation.equivalence(lvalue, rvalue);
}
template <typename geometry_type>
Modified: sandbox/gtl/gtl/interval_concept.h
==============================================================================
--- sandbox/gtl/gtl/interval_concept.h (original)
+++ sandbox/gtl/gtl/interval_concept.h 2008-05-29 17:38:33 EDT (Thu, 29 May 2008)
@@ -53,7 +53,7 @@
}
template <typename T, typename T2>
- static bool equivilence(const T& interval1, const T2& interval2) {
+ static bool equivalence(const T& interval1, const T2& interval2) {
return get(interval1, LOW) ==
get(interval2, LOW) &&
get(interval1, HIGH) ==
Modified: sandbox/gtl/gtl/point_concept.h
==============================================================================
--- sandbox/gtl/gtl/point_concept.h (original)
+++ sandbox/gtl/gtl/point_concept.h 2008-05-29 17:38:33 EDT (Thu, 29 May 2008)
@@ -66,7 +66,7 @@
}
template <typename T, typename T2>
- static inline bool equivilence(const T& point1, const T2& point2) {
+ static inline bool equivalence(const T& point1, const T2& point2) {
typename point_traits<T>::coordinate_type x1 = get<HORIZONTAL>(point1);
typename point_traits<T2>::coordinate_type x2 = get(point2, HORIZONTAL);
typename point_traits<T>::coordinate_type y1 = get(point1, VERTICAL);
Modified: sandbox/gtl/gtl/polygon_formation.h
==============================================================================
--- sandbox/gtl/gtl/polygon_formation.h (original)
+++ sandbox/gtl/gtl/polygon_formation.h 2008-05-29 17:38:33 EDT (Thu, 29 May 2008)
@@ -99,7 +99,7 @@
//assignment operator
PolyLine& operator=(const PolyLine& that);
- //equivilence operator
+ //equivalence operator
bool operator==(const PolyLine& b) const;
/**
@@ -426,7 +426,7 @@
//assignment operator
ActiveTail& operator=(const ActiveTail& that);
- //equivilence operator
+ //equivalence operator
bool operator==(const ActiveTail& b) const;
/**
Modified: sandbox/gtl/gtl/polygon_set_data.h
==============================================================================
--- sandbox/gtl/gtl/polygon_set_data.h (original)
+++ sandbox/gtl/gtl/polygon_set_data.h 2008-05-29 17:38:33 EDT (Thu, 29 May 2008)
@@ -62,7 +62,7 @@
return *this;
}
- /// equivilence operator
+ /// equivalence operator
inline bool operator==(const polygon_set_data& p) const {
if(orient_ == p.orient()) {
clean();
@@ -73,7 +73,7 @@
}
}
- /// inequivilence operator
+ /// inequivalence operator
inline bool operator!=(const polygon_set_data& p) const {
return !((*this) == p);
}
Modified: sandbox/gtl/gtl/rectangle_concept.h
==============================================================================
--- sandbox/gtl/gtl/rectangle_concept.h (original)
+++ sandbox/gtl/gtl/rectangle_concept.h 2008-05-29 17:38:33 EDT (Thu, 29 May 2008)
@@ -62,10 +62,10 @@
}
template <typename T, typename T2>
- static bool equivilence(const T& rect1, const T2& rect2) {
- return interval_concept::equivilence(get(rect1, HORIZONTAL),
+ static bool equivalence(const T& rect1, const T2& rect2) {
+ return interval_concept::equivalence(get(rect1, HORIZONTAL),
get(rect2, HORIZONTAL)) &&
- interval_concept::equivilence(get(rect1, VERTICAL),
+ interval_concept::equivalence(get(rect1, VERTICAL),
get(rect2, VERTICAL));
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk