RedCrab Calculator
 


 
      Circle   Cone   Cube   Cuboid   Cylinder   Donut   Oblique   Pipe   Point   Pyramid   Rectangle   Rhomboid   Rhombus  
    Sector   Sphere   Square   Trapez   Triangle   Vector  




Hotels Combined INT

Available in RedCrab PLUS

Vector
  • The class Vector supports the calculation of straight lines between two points

  • The following properties can be calculated or passed as an argument

  • No command string is required to define the properties a and b (default)
  a First Point default
  b Second Point defaut
  l Length of the line  
  m Gradient is the steepness of the line  
  α (alpha) Angle to the X-axis  

Syntax
  • Object = Vector (Point a, Point b)
  • Object = Vector ("args names", argumente)
  • Value = Vector ("get -> args names", arguments)


Examples
  • The next example shows how to calculate the end position of a vector when the length and angle to the x-axis are known
References
External references
 
.
           
  Products RedCrab Calculator RedCRab Manual  
      RedCrab Software - Singapore - Sengkang West Way