46 #include "exception.h"
51 #include "stringtool.h"
72 Distance(Other.Distance)
81 { this->
Define(Norm,Point); }
84 { this->
Define(First,Second,Third); }
109 Vector3 Edge1 = Second - First;
120 return Plane::S_Negative;
121 }
else if( Dist > 0.0 ) {
122 return Plane::S_Positive;
124 return Plane::S_None;
132 if( CenterDist < -MaxDist ) {
133 return Plane::S_Negative;
134 }
else if( CenterDist > +MaxDist ) {
135 return Plane::S_Positive;
137 return Plane::S_Both;
169 this->
Normal = InternalPlane.normal;
199 if( !CurrAttrib.
Empty() )
204 if( !NormalNode.
Empty() )
237 stream <<
"<Plane Version=\"1\" Distance=\"" << x.
Distance <<
"\" >" << x.
Normal <<
"</Plane>";
247 Doc->GetFirstChild() >> x;