Vector2D Class

 
Declaration
class Vector2D
 
Description
The vector class
 
Namespace
NP::NestKernel::Data::Basic
 
Include File
Vector2D.h
 
Operations
      Length                                       Get the length of the vector.
       Angle                                         Get the angle of the vector.
      SetAngle                                   Set the angle of the vector
      SetVector                                  Init the vector.
      OrthogonalTo                          Whether this vector is orthogonal to vect.
      ParallelTo                                 Whether this vector is parallel to vect.
      AngleTo                                     Get the angle to specified vector.
      Rotate                                        Rotate the vector with the angle.
      Mirror                                          Mirror this vector based on the specified vector.
      Orthogonal                               Get the orthogonal vector.
      Magnitude                                Change the length of the vector.
      Normalize                                 Set the vector to unit vector.
      DotProduct/CrossProduct  Operator with other vector.
 

Copyright © 2005-2013 by TAOSoft Corporation, All rights reserved.