# CSLAngle Class Reference

`#include <Angle.h>`

Inheritance diagram for CSLAngle:

List of all members.

## Public Types
enum | EAngleType { SI_DEGREES, SI_RADIANS }
| Angle units. More...
## Public Member Functions
| CSLAngle (CSLScene *in_pScene, CSLModel *in_pModel, CdotXSITemplate *in_pTemplate)
| Constructor.
EAngleType | GetAngleType ()
void | SetAngleType (EAngleType in_Type)
ETemplateType | Type ()

## Detailed Description

Defines the way angles are expressed in the scene (see the SI_Angle template reference). You can retrieve the angle type with the CSLScene:Angle method.

Note:
  This template is ignored when imported into Autodesk Softimage, although a warning appears if the angle is not expressed in degrees.

See also:
  CSLScene

## Member Enumeration Documentation

enum EAngleType

Angle units.

Enumerator:

  SI_DEGREES | Angles are expressed in degrees
  SI_RADIANS | Angles are expressed in radians

## Constructor & Destructor Documentation

CSLAngle | ( | CSLScene * | in_pScene,
|  | CSLModel * | in_pModel,
|  | CdotXSITemplate * | in_pTemplate |
| ) |  |  |

Constructor.

Parameters:

  | in_pScene | Pointer to the scene containing the CSLAngle
  | in_pModel | Pointer to the model containing the CSLAngle
  | in_pTemplate | Pointer to the CdotXSITemplate defining the CSLAngle

## Member Function Documentation

EAngleType GetAngleType | ( |  | ) |

Gets the angle type

Returns:
  The angle type

void SetAngleType | ( | EAngleType | in_Type | ) |

Sets the angle type

Parameters:

  | in_Type | The angle type

ETemplateType Type | ( |  | ) | `[inline, virtual]`

Returns the type of this template

Return values:

  | CSLTemplate::SI_ANGLE |

Implements CSLTemplate.

The documentation for this class was generated from the following file:

- Angle.h