Settings

Choose language

apply(point,distance,angle)

apply
  • Draws a point at the given distance from an existing point, at the given angle.

    Function parameters


  • name of existing point
  • distance in cm
  • angle in degrees

    You can use mathematical equations, variables and size constants when defining coordinates.

    Object properties


    After a point is created, you can get its properties by using the following syntax:
  • .x - returns the point's x coordinate
  • .y - returns the point's y coordinate

    Usage


    p2=apply(p1,10,10); (see example below)



    p2=apply(p1,sz3*0.5+var3,10);
  • Previous article

    point(x,y)

    Next article

    meet(point,angle,point,angle)