OpenLexocad  27.1
Geom::GeomSurface Class Reference

#include <Geometry.h>

Inheritance diagram for Geom::GeomSurface:
Geom::Geometry Base::Persistence Base::BaseClass Geom::GeomBezierSurface Geom::GeomBSplineSurface Geom::GeomCone Geom::GeomCylinder Geom::GeomOffsetSurface Geom::GeomPlane Geom::GeomPlateSurface Geom::GeomSphere Geom::GeomSurfaceOfExtrusion Geom::GeomSurfaceOfRevolution Geom::GeomToroid Geom::GeomTrimmedSurface

Public Types

enum  Curvature { Maximum, Minimum, Mean, Gaussian }
 

Public Member Functions

 GeomSurface ()
 
virtual ~GeomSurface ()
 
TopoDS_Shape toShape () const
 
bool tangentU (double u, double v, gp_Dir &dirU) const
 
bool tangentV (double u, double v, gp_Dir &dirV) const
 
bool normal (double u, double v, gp_Dir &dir) const
 
Curvature information
bool isUmbillic (double u, double v) const
 
double curvature (double u, double v, Curvature) const
 
void curvatureDirections (double u, double v, gp_Dir &maxD, gp_Dir &minD) const
 
- Public Member Functions inherited from Geom::Geometry
virtual ~Geometry ()
 
virtual const Handle (Geom_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 Geometrycopy (void) const =0
 
Geometryclone (void) const
 
boost::uuids::uuid getTag () const
 returns the tag of the geometry object More...
 
std::vector< std::weak_ptr< const GeometryExtension > > getExtensions () const
 
bool hasExtension (Base::Type type) const
 
bool hasExtension (std::string name) const
 
std::weak_ptr< const GeometryExtensiongetExtension (Base::Type type) const
 
std::weak_ptr< const GeometryExtensiongetExtension (std::string name) const
 
std::weak_ptr< GeometryExtensiongetExtension (Base::Type type)
 
std::weak_ptr< GeometryExtensiongetExtension (std::string name)
 
void setExtension (std::unique_ptr< GeometryExtension > &&geo)
 
void deleteExtension (Base::Type type)
 
void deleteExtension (std::string name)
 
void mirror (const Base::Vector3d &point)
 
void mirror (const Base::Vector3d &point, const Base::Vector3d &dir)
 
void rotate (const Base::Placement &plm)
 
void scale (const Base::Vector3d &vec, double scale)
 
void transform (const Base::Matrix4D &mat)
 
void translate (const Base::Vector3d &vec)
 
- 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::Geometry
void createNewTag ()
 create a new tag for the geometry object More...
 
void assignTag (const Geom::Geometry *)
 copies the tag from the geometry passed as a parameter to this object More...
 
void copyNonTag (const Geom::Geometry *)
 
 Geometry ()
 
- 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)
 
- Protected Attributes inherited from Geom::Geometry
boost::uuids::uuid tag
 
std::vector< std::shared_ptr< GeometryExtension > > extensions
 

Member Enumeration Documentation

◆ Curvature

Enumerator
Maximum 
Minimum 
Mean 
Gaussian 

Constructor & Destructor Documentation

◆ GeomSurface()

Geom::GeomSurface::GeomSurface ( )

◆ ~GeomSurface()

virtual Geom::GeomSurface::~GeomSurface ( )
virtual

Member Function Documentation

◆ curvature()

double Geom::GeomSurface::curvature ( double  u,
double  v,
Curvature   
) const

◆ curvatureDirections()

void Geom::GeomSurface::curvatureDirections ( double  u,
double  v,
gp_Dir &  maxD,
gp_Dir &  minD 
) const

◆ isUmbillic()

bool Geom::GeomSurface::isUmbillic ( double  u,
double  v 
) const

◆ normal()

bool Geom::GeomSurface::normal ( double  u,
double  v,
gp_Dir &  dir 
) const

◆ tangentU()

bool Geom::GeomSurface::tangentU ( double  u,
double  v,
gp_Dir &  dirU 
) const

◆ tangentV()

bool Geom::GeomSurface::tangentV ( double  u,
double  v,
gp_Dir &  dirV 
) const

◆ toShape()

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

Implements Geom::Geometry.


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