@@ -116,8 +116,19 @@ inline auto diam() const
116116 degenerate_mat (diam);
117117}
118118
119+ inline bool contains (const Matrix<double ,RowsAtCompileTime,ColsAtCompileTime>& x) const
120+ {
121+ return _contains (x);
122+ }
123+
119124template <typename OtherDerived>
120125inline bool contains (const MatrixBase<OtherDerived>& x) const
126+ {
127+ return _contains (x);
128+ }
129+
130+ template <typename T>
131+ inline bool _contains (const T& x) const
121132{
122133 assert_release (x.size () == this ->size ());
123134
@@ -132,8 +143,19 @@ inline bool contains(const MatrixBase<OtherDerived>& x) const
132143 return true ;
133144}
134145
146+ inline bool interior_contains (const Matrix<double ,RowsAtCompileTime,ColsAtCompileTime>& x) const
147+ {
148+ return _interior_contains (x);
149+ }
150+
135151template <typename OtherDerived>
136152inline bool interior_contains (const MatrixBase<OtherDerived>& x) const
153+ {
154+ return _interior_contains (x);
155+ }
156+
157+ template <typename T>
158+ inline bool _interior_contains (const T& x) const
137159{
138160 assert_release (x.size () == this ->size ());
139161
@@ -177,8 +199,19 @@ inline bool is_flat() const
177199 return false ;
178200}
179201
202+ inline bool intersects (const Matrix<codac2::Interval,RowsAtCompileTime,ColsAtCompileTime>& x) const
203+ {
204+ return _intersects (x);
205+ }
206+
180207template <typename OtherDerived>
181208inline bool intersects (const MatrixBase<OtherDerived>& x) const
209+ {
210+ return _intersects (x);
211+ }
212+
213+ template <typename OtherDerived>
214+ inline bool _intersects (const MatrixBase<OtherDerived>& x) const
182215{
183216 assert_release (this ->size () == x.size ());
184217
@@ -193,8 +226,19 @@ inline bool intersects(const MatrixBase<OtherDerived>& x) const
193226 return true ;
194227}
195228
229+ inline bool is_disjoint (const Matrix<codac2::Interval,RowsAtCompileTime,ColsAtCompileTime>& x) const
230+ {
231+ return _is_disjoint (x);
232+ }
233+
196234template <typename OtherDerived>
197235inline bool is_disjoint (const MatrixBase<OtherDerived>& x) const
236+ {
237+ return _is_disjoint (x);
238+ }
239+
240+ template <typename OtherDerived>
241+ inline bool _is_disjoint (const MatrixBase<OtherDerived>& x) const
198242{
199243 assert_release (this ->size () == x.size ());
200244
@@ -209,8 +253,19 @@ inline bool is_disjoint(const MatrixBase<OtherDerived>& x) const
209253 return false ;
210254}
211255
256+ inline bool overlaps (const Matrix<codac2::Interval,RowsAtCompileTime,ColsAtCompileTime>& x) const
257+ {
258+ return _overlaps (x);
259+ }
260+
212261template <typename OtherDerived>
213262inline bool overlaps (const MatrixBase<OtherDerived>& x) const
263+ {
264+ return _overlaps (x);
265+ }
266+
267+ template <typename OtherDerived>
268+ inline bool _overlaps (const MatrixBase<OtherDerived>& x) const
214269{
215270 assert_release (this ->size () == x.size ());
216271
@@ -225,8 +280,19 @@ inline bool overlaps(const MatrixBase<OtherDerived>& x) const
225280 return true ;
226281}
227282
283+ inline bool is_subset (const Matrix<codac2::Interval,RowsAtCompileTime,ColsAtCompileTime>& x) const
284+ {
285+ return _is_subset (x);
286+ }
287+
228288template <typename OtherDerived>
229289inline bool is_subset (const MatrixBase<OtherDerived>& x) const
290+ {
291+ return _is_subset (x);
292+ }
293+
294+ template <typename T>
295+ inline bool _is_subset (const T& x) const
230296{
231297 assert_release (this ->size () == x.size ());
232298
@@ -241,8 +307,19 @@ inline bool is_subset(const MatrixBase<OtherDerived>& x) const
241307 return true ;
242308}
243309
310+ inline bool is_strict_subset (const Matrix<codac2::Interval,RowsAtCompileTime,ColsAtCompileTime>& x) const
311+ {
312+ return _is_strict_subset (x);
313+ }
314+
244315template <typename OtherDerived>
245316inline bool is_strict_subset (const MatrixBase<OtherDerived>& x) const
317+ {
318+ return _is_strict_subset (x);
319+ }
320+
321+ template <typename T>
322+ inline bool _is_strict_subset (const T& x) const
246323{
247324 assert_release (this ->size () == x.size ());
248325
@@ -260,8 +337,19 @@ inline bool is_strict_subset(const MatrixBase<OtherDerived>& x) const
260337 return false ;
261338}
262339
340+ inline bool is_interior_subset (const Matrix<codac2::Interval,RowsAtCompileTime,ColsAtCompileTime>& x) const
341+ {
342+ return _is_interior_subset (x);
343+ }
344+
263345template <typename OtherDerived>
264346inline bool is_interior_subset (const MatrixBase<OtherDerived>& x) const
347+ {
348+ return _is_interior_subset (x);
349+ }
350+
351+ template <typename OtherDerived>
352+ inline bool _is_interior_subset (const MatrixBase<OtherDerived>& x) const
265353{
266354 assert_release (this ->size () == x.size ());
267355
@@ -276,8 +364,19 @@ inline bool is_interior_subset(const MatrixBase<OtherDerived>& x) const
276364 return true ;
277365}
278366
367+ inline bool is_strict_interior_subset (const Matrix<codac2::Interval,RowsAtCompileTime,ColsAtCompileTime>& x) const
368+ {
369+ return _is_strict_interior_subset (x);
370+ }
371+
279372template <typename OtherDerived>
280373inline bool is_strict_interior_subset (const MatrixBase<OtherDerived>& x) const
374+ {
375+ return _is_strict_interior_subset (x);
376+ }
377+
378+ template <typename OtherDerived>
379+ inline bool _is_strict_interior_subset (const MatrixBase<OtherDerived>& x) const
281380{
282381 assert_release (this ->size () == x.size ());
283382
@@ -292,8 +391,19 @@ inline bool is_strict_interior_subset(const MatrixBase<OtherDerived>& x) const
292391 return true ;
293392}
294393
394+ inline bool is_superset (const Matrix<codac2::Interval,RowsAtCompileTime,ColsAtCompileTime>& x) const
395+ {
396+ return _is_superset (x);
397+ }
398+
295399template <typename OtherDerived>
296400inline bool is_superset (const MatrixBase<OtherDerived>& x) const
401+ {
402+ return _is_superset (x);
403+ }
404+
405+ template <typename OtherDerived>
406+ inline bool _is_superset (const MatrixBase<OtherDerived>& x) const
297407{
298408 assert_release (this ->size () == x.size ());
299409
@@ -308,8 +418,19 @@ inline bool is_superset(const MatrixBase<OtherDerived>& x) const
308418 return true ;
309419}
310420
421+ inline bool is_strict_superset (const Matrix<codac2::Interval,RowsAtCompileTime,ColsAtCompileTime>& x) const
422+ {
423+ return _is_strict_superset (x);
424+ }
425+
311426template <typename OtherDerived>
312427inline bool is_strict_superset (const MatrixBase<OtherDerived>& x) const
428+ {
429+ return _is_strict_superset (x);
430+ }
431+
432+ template <typename OtherDerived>
433+ inline bool _is_strict_superset (const MatrixBase<OtherDerived>& x) const
313434{
314435 assert_release (this ->size () == x.size ());
315436
0 commit comments