|
LibreOffice Module vcl (master) 1
|
#include <dxfvec.hxx>
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 |
Definition at line 88 of file dxfvec.hxx.
| 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, basegfx::deg2rad(), 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().
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().
| double DXFTransform::CalcRotAngle | ( | ) | const |
Definition at line 222 of file dxfvec.cxx.
References aMX, DXFVector::fx, DXFVector::fy, and basegfx::rad2deg().
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 |
Definition at line 166 of file dxfvec.cxx.
References DXFVector::Abs(), aMX, aMY, DXFVector::fx, DXFVector::fy, and DXFVector::fz.
Referenced by DXF2GDIMetaFile::DrawArcEntity(), and DXF2GDIMetaFile::DrawCircleEntity().
Definition at line 158 of file dxfvec.cxx.
References aMX, aMY, aMZ, DXFVector::fx, DXFVector::fy, and DXFVector::fz.
Referenced by DXF2GDIMetaFile::DrawAttribEntity(), DXF2GDIMetaFile::DrawTextEntity(), and DXFTransform().
| LineInfo DXFTransform::Transform | ( | const DXFLineInfo & | aDXFLineInfo | ) | const |
Definition at line 195 of file dxfvec.cxx.
References aMX, aMY, DXFLineInfo::eStyle, DXFLineInfo::fDashLen, DXFLineInfo::fDistance, DXFLineInfo::fDotLen, DXFVector::fx, DXFVector::fy, DXFLineInfo::nDashCount, DXFLineInfo::nDotCount, and scale.
Definition at line 143 of file dxfvec.cxx.
References aMP, aMX, aMY, aMZ, DXFVector::fx, DXFVector::fy, and DXFVector::fz.
Referenced by DXF2GDIMetaFile::Draw3DFaceEntity(), DXF2GDIMetaFile::DrawArcEntity(), DXF2GDIMetaFile::DrawAttribEntity(), DXF2GDIMetaFile::DrawCircleEntity(), DXF2GDIMetaFile::DrawHatchEntity(), DXF2GDIMetaFile::DrawLineEntity(), DXF2GDIMetaFile::DrawLWPolyLineEntity(), DXF2GDIMetaFile::DrawPointEntity(), DXF2GDIMetaFile::DrawPolyLineEntity(), DXF2GDIMetaFile::DrawSolidEntity(), DXF2GDIMetaFile::DrawTextEntity(), DXF2GDIMetaFile::DrawTraceEntity(), and DXFTransform().
Definition at line 151 of file dxfvec.cxx.
References aMP, aMX, aMY, aMZ, DXFVector::fx, DXFVector::fy, DXFVector::fz, Point::setX(), and Point::setY().
|
private |
Definition at line 147 of file dxfvec.hxx.
Referenced by DXFTransform(), and Transform().
|
private |
Definition at line 144 of file dxfvec.hxx.
Referenced by CalcRotAngle(), DXFTransform(), Mirror(), TransCircleToEllipse(), TransDir(), and Transform().
|
private |
Definition at line 145 of file dxfvec.hxx.
Referenced by DXFTransform(), Mirror(), TransCircleToEllipse(), TransDir(), and Transform().
|
private |
Definition at line 146 of file dxfvec.hxx.
Referenced by DXFTransform(), Mirror(), TransDir(), and Transform().