OpenLexocad  27.1
Geom::Geom2dPoint Class Reference

#include <Geometry2d.h>

Inheritance diagram for Geom::Geom2dPoint:
Geom::Geometry2d Base::Persistence Base::BaseClass

Public Member Functions

 Geom2dPoint ()
 
 Geom2dPoint (const Handle(Geom2d_CartesianPoint)&)
 
 Geom2dPoint (const Base::Vector2d &)
 
virtual ~Geom2dPoint ()
 
virtual Geometry2dclone (void) const
 returns a cloned object More...
 
virtual TopoDS_Shape toShape () const
 
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...
 
const Handle (Geom2d_Geometry) &handle() const
 
Base::Vector2d getPoint (void) const
 
void setPoint (const Base::Vector2d &)
 
- Public Member Functions inherited from Geom::Geometry2d
virtual ~Geometry2d ()
 
- 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...
 

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
 
- Protected Member Functions inherited from Geom::Geometry2d
 Geometry2d ()
 
- 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

◆ Geom2dPoint() [1/3]

Geom::Geom2dPoint::Geom2dPoint ( )

◆ Geom2dPoint() [2/3]

Geom::Geom2dPoint::Geom2dPoint ( const Handle(Geom2d_CartesianPoint)&  )

◆ Geom2dPoint() [3/3]

Geom::Geom2dPoint::Geom2dPoint ( const Base::Vector2d )

◆ ~Geom2dPoint()

virtual Geom::Geom2dPoint::~Geom2dPoint ( )
virtual

Member Function Documentation

◆ clone()

virtual Geometry2d* Geom::Geom2dPoint::clone ( void  ) const
virtual

returns a cloned object

Implements Geom::Geometry2d.

◆ getPoint()

Base::Vector2d Geom::Geom2dPoint::getPoint ( void  ) const

◆ Handle()

const Geom::Geom2dPoint::Handle ( Geom2d_Geometry  ) const &
virtual

Implements Geom::Geometry2d.

◆ restore()

virtual void Geom::Geom2dPoint::restore ( Base::AbstractXMLReader ,
Base::PersistenceVersion  
)
overridevirtual

This method is used to restore properties from an XML document.

Reimplemented from Geom::Geometry2d.

◆ save()

virtual void Geom::Geom2dPoint::save ( Base::AbstractWriter ,
Base::PersistenceVersion  
)
overridevirtual

This method is used to save properties or very small amounts of data to an XML document.

Reimplemented from Geom::Geometry2d.

◆ setPoint()

void Geom::Geom2dPoint::setPoint ( const Base::Vector2d )

◆ toShape()

virtual TopoDS_Shape Geom::Geom2dPoint::toShape ( ) const
virtual

Implements Geom::Geometry2d.


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