OpenLexocad  27.1
Geom::Geometry2d Class Referenceabstract

#include <Geometry2d.h>

Inheritance diagram for Geom::Geometry2d:
Base::Persistence Base::BaseClass Geom::Geom2dCurve Geom::Geom2dPoint Geom::Geom2dArcOfConic Geom::Geom2dBezierCurve Geom::Geom2dBSplineCurve Geom::Geom2dConic Geom::Geom2dLine Geom::Geom2dLineSegment Geom::Geom2dOffsetCurve Geom::Geom2dTrimmedCurve

Public Member Functions

virtual ~Geometry2d ()
 
virtual TopoDS_Shape toShape () const =0
 
virtual const Handle (Geom2d_Geometry) &handle() const =0
 
virtual void save (Base::AbstractWriter &, Base::PersistenceVersion &) override
 This method is used to save properties or very small amounts of data to an XML document. More...
 
virtual void restore (Base::AbstractXMLReader &, Base::PersistenceVersion &) override
 This method is used to restore properties from an XML document. More...
 
virtual Geometry2dclone (void) const =0
 returns a cloned object More...
 
- Public Member Functions inherited from Base::Persistence
virtual void saveDocFile (Base::AbstractWriter &, const Base::String &, const Base::String &)
 This method is used to save large amounts of data to a binary file. More...
 
virtual void restoreDocFile (Base::Reader &, const Base::String &)
 This method is used to restore large amounts of data from a binary file. More...
 
virtual bool mustbeSaved () const
 Return 'true' if this object must always be saved in the file. More...
 
virtual bool createSQL (Base::AbstractWriter &, Base::PersistenceVersion &, bool)
 This method is used to save properties or very small amounts of data to an XML document. More...
 
- Public Member Functions inherited from Base::BaseClass
virtual Type getTypeId (void) const
 
template<typename T >
bool isDerivedFrom () const
 
bool isDerivedFrom (const Type type) const
 
 BaseClass ()
 Construction. More...
 
virtual ~BaseClass ()
 Destruction. More...
 

Protected Member Functions

 Geometry2d ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Base::Persistence
static std::string encodeAttribute (const std::string &)
 
- Static Public Member Functions inherited from Base::BaseClass
static Type getClassTypeId (void)
 
static void init (void)
 
static void * create (void)
 
static void setIfcNameAndID (const std::string &n, int id)
 
- Public Attributes inherited from Base::BaseClass
long ____deadVal = 0xBADEAFFE
 
- Static Protected Member Functions inherited from Base::BaseClass
static void initSubclass (Base::Type &toInit, const char *ClassName, const char *ParentName, Type::instantiationMethod method=0)
 
static void initIfcTypes (const std::string &s, Base::Type classTypeId, int id)
 

Constructor & Destructor Documentation

◆ ~Geometry2d()

virtual Geom::Geometry2d::~Geometry2d ( )
virtual

◆ Geometry2d()

Geom::Geometry2d::Geometry2d ( )
protected

Member Function Documentation

◆ clone()

◆ Handle()

◆ restore()

◆ save()

◆ toShape()

virtual TopoDS_Shape Geom::Geometry2d::toShape ( ) const
pure virtual

Implemented in Geom::Geom2dCurve, and Geom::Geom2dPoint.


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