src/taesooLib/BaseLib/math/vectorn.cpp
m_real	vectorn::angle2D(vectorn const& b) const
{
	vectorn const& a=*this;

	m_real rad=a.angle(b);
	// length 가 0인경우 발생.
	ASSERT(rad==rad);
	if(a.sinTheta(b)<0)
		return (m_real)(2.0*M_PI-rad);

	return rad;
}
// calc angle between 0 to 2pi
calc angle between 0 to 2pi
calc angle between 0 to 2pi
m_real	vectorn::angle2D(vectorn const& b) const
{
	vectorn const& a=*this;
	m_real rad=a.angle(b);
	ASSERT(rad==rad);
	if(a.sinTheta(b)<0)
		return (m_real)(2.0*M_PI-rad);
	return rad;
}
m_real vectorn :: angle2D ( vectorn const & b ) const { vectorn const & a = * this ; m_real rad = a . angle ( b ) ; ASSERT ( rad == rad ) ; if ( a . sinTheta ( b ) < 0 ) return ( m_real ) ( 2.0 * M_PI - rad ) ; return rad ; }
calc angle between 0 to 2pi
calc angle between 0 to 2pi
// length 가 0인경우 발생.