libopencad
Public Member Functions | Protected Attributes | List of all members
CADLine Class Reference

Geometry class which represents a simple Line. More...

#include <cadgeometry.h>

Inheritance diagram for CADLine:
CADGeometry

Public Member Functions

 CADLine (const CADPoint3D &startIn, const CADPoint3D &endIn)
 
CADPoint3D getStart () const
 
void setStart (const CADPoint3D &value)
 
CADPoint3D getEnd () const
 
void setEnd (const CADPoint3D &value)
 
virtual void print () const override
 
- Public Member Functions inherited from CADGeometry
enum GeometryType getType () const
 
double getThickness () const
 
void setThickness (double thicknes)
 
RGBColor getColor () const
 
void setColor (int ACIColorIndex)
 
void addAttribute (CADAttdef *)
 
void addAttribute (CADAttrib *)
 
map< string, CADAttdefgetAttributes ()
 

Protected Attributes

CADPoint3D start
 
CADPoint3D end
 
- Protected Attributes inherited from CADGeometry
enum GeometryType geometryType
 
double thickness
 
RGBColor geometry_color
 
map< string, CADAttdefmapstAttributes
 

Additional Inherited Members

- Public Types inherited from CADGeometry
enum  GeometryType {
  UNDEFINED = 0, POINT, CIRCLE, LWPOLYLINE,
  ELLIPSE, LINE, POLYLINE3D, TEXT,
  ARC, SPLINE, SOLID, RAY,
  HATCH, IMAGE, MTEXT, MLINE,
  XLINE, FACE3D, POLYLINE_PFACE, ATTRIB,
  ATTDEF
}
 The CAD geometry types enum.
 

Detailed Description

Geometry class which represents a simple Line.


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