hi
After a short break on other projects equally gratifying, I return to my problem.
I just provide additional information which I hope will give you ideas on the problem I encounter.
Well, I always error "vector iterators incompatible". I located the crash.
Il ya dans le code un test != entre 2 objets de classe
There is in the code test! = Between 2 objects of class std:: _Vector_const_iterator <Arc, std:: allocator <arc>>, where Arc is a class library.
It therefore plant operator! Of _Vector_const_iterator = (c: \ Program Files \ Microsoft Visual Studio 9.0 \ VC \ include \ vector)
The test is:
Code:
if (crossing! = toBeTested)
A watch on crossing gives me:
Code:
- (Crossing axe_ ={...} cos_ =- 0.087155742747658235 sin_ = 0.99619469809174555 ...) std:: _Vector_const_iterator <Arc, std:: allocator <arc>>
- ptr {axe_={...} cos_=-0.087155742747658235 sin_=0.99619469809174555 ...} Arc - (Ptr axe_ ={...} cos_ =- 0.087155742747658235 sin_ = 0.99619469809174555 ...) Arc
+ axe_ {x_=-0.50000000000000011 y_=-0.00000000000000000 z_=-0.86602540378443860 } Vecteur3<double> + Axe_ =- 0.50000000000000011 (x_ y_ z_ =- 0.00000000000000000 =- 0.86602540378443860) Vecteur3 <double>
cos_ -0.087155742747658235 double cos_ -0.087155742747658235 double
sin_ 0.99619469809174555 double sin_ 0.99619469809174555 double
angle_ 1.6580627893946132 double angle_ 1.6580627893946132 double
+ deb_ {x_=1.2490009027033011e-016 y_=-0.99492302985782377 z_=0.10063878307356444 } Vecteur3<double> Deb_ (x_ + = 1.2490009027033011e-016 =- 0.99492302985782377 y_ z_ = 0.10063878307356444) Vecteur3 <double>
+ fin_ {x_=6.9388939039072284e-018 y_=0.99492302985782377 z_=0.10063878307356451 } Vecteur3<double> Fin_ (x_ + = 6.9388939039072284e-018 = 0.99492302985782377 y_ z_ = 0.10063878307356451) Vecteur3 <double>
+ u_ {x_=-0.043577871373829000 y_=-0.99492302985782377 z_=0.025159695768391069 } Vecteur3<double> + U_ (x_ =- 0.043577871373829000 y_ z_ =- 0.99492302985782377 = 0.025159695768391069) Vecteur3 <double>
+ v_ {x_=-0.86162861866705887 y_=0.050319391536782124 z_=0.49746151492891200 } Vecteur3<double> + V_ (x_ =- 0.86162861866705887 y_ z_ = 0.050319391536782124 = 0.49746151492891200) Vecteur3 <double>
+ w_ {x_=0.043577871373829125 y_=0.00000000000000000 z_=0.075479087305173373 } Vecteur3<double> + W_ (x_ = 0.043577871373829125 y_ z_ = 0.00000000000000000 = 0.075479087305173373) Vecteur3 <double>
balayage_ 3.0405264385097688 double balayage_ 3.0405264385097688 double A watch on toBeTested gives me:
Code:
- ToBeTested (axe_ ={...} cos_ = 2.2459367226747943e-299 sin_ = 6.4615620656525586e-308 ...) std:: _Vector_const_iterator <Arc, std:: <arc> allocator>
- ptr {axe_={...} cos_=2.2459367226747943e-299 sin_=6.4615620656525586e-308 ...} Arc - (Ptr axe_ ={...} cos_ = 2.2459367226747943e-299 sin_ = 6.4615620656525586e-308) Arc ...
+ axe_ {x_=-2.5301711256524607e-098 y_=-2.6569838326172271e+303 z_=0.00000000000000000 } Vecteur3<double> + Axe_ (x_ =- 2.5301711256524607e-098 y_ z_ =- 2.6569838326172271e 303 = 0.00000000000000000) Vecteur3 <double>
cos_ 2.2459367226747943e-299 double cos_ 2.2459367226747943e-299 double
sin_ 6.4615620656525586e-308 double sin_ 6.4615620656525586e-308 double
angle_ -2.6569842580370804e+303 double angle_-2.6569842580370804e 303 double
+ deb_ {x_=-2.6569842580370804e+303 y_=-2.6569842580370804e+303 z_=-2.6569842580370804e+303 } Vecteur3<double> Deb_ (+ 2.6569842580370804e 303 =- x_ y_ z_ =- 2.6569842580370804e 303 =- 2.6569842580370804e 303) Vecteur3 <double>
+ fin_ {x_=-2.6569842580370804e+303 y_=-2.6569842580370804e+303 z_=-2.6569842580370804e+303 } Vecteur3<double> Fin_ (+ 2.6569842580370804e 303 =- x_ y_ z_ =- 2.6569842580370804e 303 =- 2.6569842580370804e 303) Vecteur3 <double>
+ u_ {x_=-2.6569842580370804e+303 y_=-2.6569842580370804e+303 z_=-2.6569842580370804e+303 } Vecteur3<double> + U_ (x_ y_ =- 2.6569842580370804e 303 =- 2.6569842580370804e 303 z_ =- 2.6569842580370804e 303) Vecteur3 <double>
+ v_ {x_=-2.6569842580370804e+303 y_=-2.6569842580370804e+303 z_=-2.6569842580370804e+303 } Vecteur3<double> + V_ (x_ y_ =- 2.6569842580370804e 303 =- 2.6569842580370804e 303 z_ =- 2.6569842580370804e 303) Vecteur3 <double>
+ w_ {x_=-2.6569842580370804e+303 y_=-2.6569842580370804e+303 z_=-2.6569842580370804e+303 } Vecteur3<double> + W_ (x_ y_ =- 2.6569842580370804e 303 =- 2.6569842580370804e 303 z_ =- 2.6569842580370804e 303) Vecteur3 <double>
balayage_ -2.6569842580370804e+303 double balayage_-2.6569842580370804e 303 double In class _Vector_const_iterator:
Code:
# template <class _Ty, class _Alloc> class (_Vector_const_iterator
# ..... .....
# bool operator !=( const _Myt& _Right) const bool operator! = (const _Myt _Right &) const
# { // test for iterator inequality (/ / Test for iterator inequality
# return (!(* this == _Right)); return ((* this == _Right));
# } )
# .... ....
# }; ); A watch on * this:
Code:
- (* This axe_ ={...} cos_ =- 0.087155742747658235 sin_ = 0.99619469809174555 ...) const std:: _Vector_const_iterator <Arc, std:: allocator <arc>>
- ptr {axe_={...} cos_=-0.087155742747658235 sin_=0.99619469809174555 ...} Arc - (Ptr axe_ ={...} cos_ =- 0.087155742747658235 sin_ = 0.99619469809174555 ...) Arc
+ axe_ {x_=-0.50000000000000011 y_=-0.00000000000000000 z_=-0.86602540378443860 } Vecteur3<double> + Axe_ =- 0.50000000000000011 (x_ y_ z_ =- 0.00000000000000000 =- 0.86602540378443860) Vecteur3 <double>
cos_ -0.087155742747658235 double cos_ -0.087155742747658235 double
sin_ 0.99619469809174555 double sin_ 0.99619469809174555 double
angle_ 1.6580627893946132 double angle_ 1.6580627893946132 double
+ deb_ {x_=1.2490009027033011e-016 y_=-0.99492302985782377 z_=0.10063878307356444 } Vecteur3<double> Deb_ (x_ + = 1.2490009027033011e-016 =- 0.99492302985782377 y_ z_ = 0.10063878307356444) Vecteur3 <double>
+ fin_ {x_=6.9388939039072284e-018 y_=0.99492302985782377 z_=0.10063878307356451 } Vecteur3<double> Fin_ (x_ + = 6.9388939039072284e-018 = 0.99492302985782377 y_ z_ = 0.10063878307356451) Vecteur3 <double>
+ u_ {x_=-0.043577871373829000 y_=-0.99492302985782377 z_=0.025159695768391069 } Vecteur3<double> + U_ (x_ =- 0.043577871373829000 y_ z_ =- 0.99492302985782377 = 0.025159695768391069) Vecteur3 <double>
+ v_ {x_=-0.86162861866705887 y_=0.050319391536782124 z_=0.49746151492891200 } Vecteur3<double> + V_ (x_ =- 0.86162861866705887 y_ z_ = 0.050319391536782124 = 0.49746151492891200) Vecteur3 <double>
+ w_ {x_=0.043577871373829125 y_=0.00000000000000000 z_=0.075479087305173373 } Vecteur3<double> + W_ (x_ = 0.043577871373829125 y_ z_ = 0.00000000000000000 = 0.075479087305173373) Vecteur3 <double>
balayage_ 3.0405264385097688 double balayage_ 3.0405264385097688 double A watch on _Right:
Code:
- (_Right Axe_ ={...} cos_ = 2.2459367226747943e-299 sin_ = 6.4615620656525586e-308 ...) const std:: _Vector_const_iterator <Arc, std:: allocator <arc>> &
- ptr {axe_={...} cos_=2.2459367226747943e-299 sin_=6.4615620656525586e-308 ...} Arc - (Ptr axe_ ={...} cos_ = 2.2459367226747943e-299 sin_ = 6.4615620656525586e-308) Arc ...
+ axe_ {x_=-2.5301711256524607e-098 y_=-2.6569838326172271e+303 z_=0.00000000000000000 } Vecteur3<double> + Axe_ (x_ =- 2.5301711256524607e-098 y_ z_ =- 2.6569838326172271e 303 = 0.00000000000000000) Vecteur3 <double>
cos_ 2.2459367226747943e-299 double cos_ 2.2459367226747943e-299 double
sin_ 6.4615620656525586e-308 double sin_ 6.4615620656525586e-308 double
angle_ -2.6569842580370804e+303 double angle_-2.6569842580370804e 303 double
+ deb_ {x_=-2.6569842580370804e+303 y_=-2.6569842580370804e+303 z_=-2.6569842580370804e+303 } Vecteur3<double> Deb_ (+ 2.6569842580370804e 303 =- x_ y_ z_ =- 2.6569842580370804e 303 =- 2.6569842580370804e 303) Vecteur3 <double>
+ fin_ {x_=-2.6569842580370804e+303 y_=-2.6569842580370804e+303 z_=-2.6569842580370804e+303 } Vecteur3<double> Fin_ (+ 2.6569842580370804e 303 =- x_ y_ z_ =- 2.6569842580370804e 303 =- 2.6569842580370804e 303) Vecteur3 <double>
+ u_ {x_=-2.6569842580370804e+303 y_=-2.6569842580370804e+303 z_=-2.6569842580370804e+303 } Vecteur3<double> + U_ (x_ y_ =- 2.6569842580370804e 303 =- 2.6569842580370804e 303 z_ =- 2.6569842580370804e 303) Vecteur3 <double>
+ v_ {x_=-2.6569842580370804e+303 y_=-2.6569842580370804e+303 z_=-2.6569842580370804e+303 } Vecteur3<double> + =- V_ (x_ y_ 2.6569842580370804e 303 =- 2.6569842580370804e 303 z_ =- 2.6569842580370804e 303) Vecteur3 <double>
+ w_ {x_=-2.6569842580370804e+303 y_=-2.6569842580370804e+303 z_=-2.6569842580370804e+303 } Vecteur3<double> + W_ (x_ y_ =- 2.6569842580370804e 303 =- 2.6569842580370804e 303 z_ =- 2.6569842580370804e 303) Vecteur3 <double>
balayage_ -2.6569842580370804e+303 double balayage_-2.6569842580370804e 303 double I understand yet what bothers
Someone would have any idea??
Meanwhile, I go with Linux, follow the advice of a programmer and see if I find something fishy qq ...
Please, help me!
Thank you for your help
Bookmarks