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 88 of file dxfvec.hxx.

Constructor & Destructor Documentation

◆ DXFTransform() [1/6]

DXFTransform::DXFTransform ( )

Definition at line 48 of file dxfvec.cxx.

◆ DXFTransform() [2/6]

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

Definition at line 57 of file dxfvec.cxx.

◆ DXFTransform() [3/6]

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

Definition at line 67 of file dxfvec.cxx.

References aMX, aMY, basegfx::deg2rad(), DXFVector::fx, and DXFVector::fy.

◆ DXFTransform() [4/6]

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() [5/6]

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() [6/6]

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

◆ CalcRotAngle()

double DXFTransform::CalcRotAngle ( ) const

◆ Mirror()

bool DXFTransform::Mirror ( ) const

Definition at line 227 of file dxfvec.cxx.

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

Referenced by DXF2GDIMetaFile::DrawArcEntity().

◆ TransCircleToEllipse()

bool DXFTransform::TransCircleToEllipse ( double  fRadius,
double &  rEx,
double &  rEy 
) const

◆ TransDir()

void DXFTransform::TransDir ( const DXFVector rSrc,
DXFVector rTgt 
) const

◆ Transform() [1/3]

LineInfo DXFTransform::Transform ( const DXFLineInfo aDXFLineInfo) const

◆ Transform() [2/3]

void DXFTransform::Transform ( const DXFVector rSrc,
DXFVector rTgt 
) const

◆ Transform() [3/3]

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, DXFVector::fz, Point::setX(), and Point::setY().

Member Data Documentation

◆ aMP

DXFVector DXFTransform::aMP
private

Definition at line 147 of file dxfvec.hxx.

Referenced by DXFTransform(), and Transform().

◆ aMX

DXFVector DXFTransform::aMX
private

◆ aMY

DXFVector DXFTransform::aMY
private

Definition at line 145 of file dxfvec.hxx.

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

◆ aMZ

DXFVector DXFTransform::aMZ
private

Definition at line 146 of file dxfvec.hxx.

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


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