Limbo 3.5.4
Loading...
Searching...
No Matches
GdsParser::GdsDB::ApplyCellReferenceActionDetails::Rotate< PointType > Struct Template Reference

Rotate operation. More...

#include <GdsObjectHelpers.h>

Public Member Functions

 Rotate (double a)
 constructor
void operator() (PointType &p) const
 API to run operation.
Transformation matrix
cos(theta) -sin(theta)
sin(theta) cos(theta).

Public Attributes

double angle
 angle
double cosAngle
 cosine value of angle
double sinAngle
 sine value of angle

Detailed Description

template<typename PointType>
struct GdsParser::GdsDB::ApplyCellReferenceActionDetails::Rotate< PointType >

Rotate operation.

Definition at line 290 of file GdsObjectHelpers.h.

Constructor & Destructor Documentation

◆ Rotate()

template<typename PointType>
GdsParser::GdsDB::ApplyCellReferenceActionDetails::Rotate< PointType >::Rotate ( double a)
inline

constructor

Parameters
aangle

Definition at line 298 of file GdsObjectHelpers.h.

Member Function Documentation

◆ operator()()

template<typename PointType>
void GdsParser::GdsDB::ApplyCellReferenceActionDetails::Rotate< PointType >::operator() ( PointType & p) const
inline

API to run operation.
Transformation matrix
cos(theta) -sin(theta)
sin(theta) cos(theta).

Parameters
pgiven position and perform operation on the position

Definition at line 309 of file GdsObjectHelpers.h.

Member Data Documentation

◆ angle

template<typename PointType>
double GdsParser::GdsDB::ApplyCellReferenceActionDetails::Rotate< PointType >::angle

angle

Definition at line 292 of file GdsObjectHelpers.h.

◆ cosAngle

template<typename PointType>
double GdsParser::GdsDB::ApplyCellReferenceActionDetails::Rotate< PointType >::cosAngle

cosine value of angle

Definition at line 293 of file GdsObjectHelpers.h.

◆ sinAngle

template<typename PointType>
double GdsParser::GdsDB::ApplyCellReferenceActionDetails::Rotate< PointType >::sinAngle

sine value of angle

Definition at line 294 of file GdsObjectHelpers.h.


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