RedCrab Calculator
 



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

Available in RedCrab PLUS

Geometry Classes

Circle Properties of a circle
Cone Properties of a cone
Cube Properties of a cube
Cuboid Properties of a cuboid
Cylinder Properties of a cylinder
Donut Properties of a donat
Oblique Properties of a triangle
Pipe Properties of a pipe
Point Properties of a point
Pyramid Properties of pyramid
Rectangel Properties of a rectangle
Rhomboid Properties of paralleologram
Rhombus Properties of a rhomus
Sector Properties of a circle sector
Sphere Properties of a sphere
Square Properties of a square
Straight Calculation of straight lines
Trapeze Properties of a trapezoid
Triangle Properties of a right triangle
   

    Advertisement
           
  Products RedCrab Calculator RedCRab Manual  
      RedCrab Software - Singapore - Sengkang West Way