RedCrab Calculator
 


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






Available in RedCrab PLUS

Straight
  • The class Straight 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 = Straight (Point a, Point b)
  • Object = Straight ("args names", argumente)
  • Value = Straight ("get -> args names", arguments)


Examples
  • The next example shows how to calculate the end position of a straight 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