Public Member Functions | Protected Attributes

MeshLib::CMobius Class Reference

CMobius class, Mobius transformation. More...

#include <Mobius.h>

Collaboration diagram for MeshLib::CMobius:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CMobius ()
 CMobius (Complex z0, double theta)
 ~CMobius ()
Complex operator* (Complex z)

Protected Attributes

Complex m_theta
Complex m_z0

Detailed Description

CMobius class, Mobius transformation.

Definition at line 26 of file Mobius.h.


Constructor & Destructor Documentation

MeshLib::CMobius::CMobius (  )  [inline]

CMobius default constructor, z0 is the origin, rotation angle is 0

Definition at line 32 of file Mobius.h.

{ m_z0=Complex(0,0); m_theta = std::polar(1.0,0.0);};

MeshLib::CMobius::CMobius ( Complex  z0,
double  theta 
) [inline]

CMobius constructor, with prescribed z0 and rotation angle

Parameters:
z0 center of the Mobius transformation
theta rotation angle

Definition at line 38 of file Mobius.h.

{ m_z0 = z0; m_theta = std::polar(1.0,theta);};

MeshLib::CMobius::~CMobius (  )  [inline]

Mobius destructor

Definition at line 42 of file Mobius.h.

{};


Member Function Documentation

Complex MeshLib::CMobius::operator* ( Complex  z  )  [inline]

Transform a complex number by the current Mobius transformation

Parameters:
z the input complex number

Definition at line 47 of file Mobius.h.

{ return m_theta * (z - m_z0)/(Complex(1.0,0.0)-std::conj(m_z0)*z); };


Member Data Documentation

Rotation angle of the Mobius transformation, $e^{i\theta}$

Definition at line 47 of file Mobius.h.

center of the Mobius transformation

Definition at line 57 of file Mobius.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Defines