LibreOffice Module vcl (master)  1
Public Member Functions | Private Attributes | List of all members
DXFTransform Class Reference

#include <dxfvec.hxx>

Collaboration diagram for DXFTransform:
[legend]

Public Member Functions

 DXFTransform ()
 
 DXFTransform (double fScaleX, double fScaleY, double fScaleZ, const DXFVector &rShift)
 
 DXFTransform (double fScaleX, double fScaleY, double fScaleZ, double fRotAngle, const DXFVector &rShift)
 
 DXFTransform (const DXFVector &rExtrusion)
 
 DXFTransform (const DXFVector &rViewDir, const DXFVector &rViewTarget)
 
 DXFTransform (const DXFTransform &rT1, const DXFTransform &rT2)
 
void Transform (const DXFVector &rSrc, DXFVector &rTgt) const
 
void Transform (const DXFVector &rSrc, Point &rTgt) const
 
void TransDir (const DXFVector &rSrc, DXFVector &rTgt) const
 
bool TransCircleToEllipse (double fRadius, double &rEx, double &rEy) const
 
double CalcRotAngle () const
 
bool Mirror () const
 
LineInfo Transform (const DXFLineInfo &aDXFLineInfo) const
 

Private Attributes

DXFVector aMX
 
DXFVector aMY
 
DXFVector aMZ
 
DXFVector aMP
 

Detailed Description

Definition at line 89 of file dxfvec.hxx.

Constructor & Destructor Documentation

DXFTransform::DXFTransform ( )

Definition at line 48 of file dxfvec.cxx.

DXFTransform::DXFTransform ( double  fScaleX,
double  fScaleY,
double  fScaleZ,
const DXFVector rShift 
)

Definition at line 57 of file dxfvec.cxx.

DXFTransform::DXFTransform ( double  fScaleX,
double  fScaleY,
double  fScaleZ,
double  fRotAngle,
const DXFVector rShift 
)

Definition at line 67 of file dxfvec.cxx.

References aMX, aMY, DXFVector::fx, and DXFVector::fy.

DXFTransform::DXFTransform ( const DXFVector rExtrusion)

Definition at line 84 of file dxfvec.cxx.

References aMX, aMY, aMZ, DXFVector::fx, DXFVector::fy, and DXFVector::Unit().

DXFTransform::DXFTransform ( const DXFVector rViewDir,
const DXFVector rViewTarget 
)

Definition at line 100 of file dxfvec.cxx.

References aMP, aMX, aMY, aMZ, DXFVector::fx, DXFVector::fy, DXFVector::fz, and DXFVector::Unit().

DXFTransform::DXFTransform ( const DXFTransform rT1,
const DXFTransform rT2 
)

Definition at line 134 of file dxfvec.cxx.

References aMP, aMX, aMY, aMZ, TransDir(), and Transform().

Member Function Documentation

double DXFTransform::CalcRotAngle ( ) const

Definition at line 222 of file dxfvec.cxx.

References aMX, DXFVector::fx, and DXFVector::fy.

Referenced by DXF2GDIMetaFile::DrawAttribEntity(), and DXF2GDIMetaFile::DrawTextEntity().

bool DXFTransform::Mirror ( ) const

Definition at line 227 of file dxfvec.cxx.

References aMX, aMY, aMZ, and DXFVector::SProd().

Referenced by DXF2GDIMetaFile::DrawArcEntity().

bool DXFTransform::TransCircleToEllipse ( double  fRadius,
double &  rEx,
double &  rEy 
) const
void DXFTransform::TransDir ( const DXFVector rSrc,
DXFVector rTgt 
) const
void DXFTransform::Transform ( const DXFVector rSrc,
DXFVector rTgt 
) const
void DXFTransform::Transform ( const DXFVector rSrc,
Point rTgt 
) const

Definition at line 151 of file dxfvec.cxx.

References aMP, aMX, aMY, aMZ, DXFVector::fx, DXFVector::fy, and DXFVector::fz.

LineInfo DXFTransform::Transform ( const DXFLineInfo aDXFLineInfo) const

Member Data Documentation

DXFVector DXFTransform::aMP
private

Definition at line 148 of file dxfvec.hxx.

Referenced by DXFTransform(), and Transform().

DXFVector DXFTransform::aMX
private
DXFVector DXFTransform::aMY
private

Definition at line 146 of file dxfvec.hxx.

Referenced by DXFTransform(), Mirror(), TransCircleToEllipse(), TransDir(), and Transform().

DXFVector DXFTransform::aMZ
private

Definition at line 147 of file dxfvec.hxx.

Referenced by DXFTransform(), Mirror(), TransDir(), and Transform().


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