Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

DL_Extrusion Class Reference

Storing and passing around attributes. More...

#include <dl_extrusion.h>

List of all members.

Public Member Functions

 DL_Extrusion ()
 Default constructor.
 ~DL_Extrusion ()
 Destructor.
 DL_Extrusion (double dx, double dy, double dz, double elevation)
 Constructor for DXF extrusion.
void setDirection (double dx, double dy, double dz)
 Sets the direction vector.
double * getDirection () const
void getDirection (double dir[]) const
void setElevation (double elevation)
 Sets the elevation.
double getElevation () const
DL_Extrusion operator= (const DL_Extrusion &extru)
 Copies extrusion (deep copies) from another extrusion object.


Detailed Description

Storing and passing around attributes.

Attributes are the layer name, color, width and line type.

Author:
Andrew Mustun


Constructor & Destructor Documentation

DL_Extrusion::DL_Extrusion double  dx,
double  dy,
double  dz,
double  elevation
[inline]
 

Constructor for DXF extrusion.

Parameters:
direction Vector of axis along which the entity shall be extruded this is also the Z axis of the Entity coordinate system
elevation Distance of the entities XY plane from the origin of the world coordinate system


Member Function Documentation

void DL_Extrusion::getDirection double  dir[]  )  const [inline]
 

Returns:
direction vector.

double* DL_Extrusion::getDirection  )  const [inline]
 

Returns:
direction vector.

double DL_Extrusion::getElevation  )  const [inline]
 

Returns:
Elevation.


The documentation for this class was generated from the following file:
Generated on Sat Jan 6 13:48:19 2007 for dxflib by  doxygen 1.4.4