cos function

CityEngine 2024.1    |    |  

Syntax

  • float cos(x)

Parameters

  1. xfloat

Returns

The cosine of x, i.e. a value in [-1, 1].

Description

The cos function calculates the cosine of x, where x is given in degrees.

Related