OpenLexocad  27.1
OpenLxApp::BezierCurve Class Reference

This is a special type of curve which can be represented as a type of B-spline curve in which the knots are evenly spaced and have high multiplicities. Suitable default values for the knots and knot multiplicities are derived in this case. (Definition from ISO/CD 16739:2011) More...

#include <BezierCurve.h>

Inheritance diagram for OpenLxApp::BezierCurve:
OpenLxApp::BoundedCurve OpenLxApp::Curve OpenLxApp::Geometry OpenLxApp::DocObject

Public Member Functions

bool getClosedCurve () const
 
void setClosedCurve (const bool &aValue)
 
std::vector< Geom::PntgetControlPointsList () const
 
void setControlPointsList (const std::vector< Geom::Pnt > &aValue)
 
int getDegree () const
 
void setDegree (const int &aValue)
 
bool getSelfIntersect () const
 
void setSelfIntersect (const bool &aValue)
 
 ~BezierCurve (void)
 
- Public Member Functions inherited from OpenLxApp::BoundedCurve
bool getStartPoint (Geom::Pnt &p) const
 
bool getEndPoint (Geom::Pnt &p) const
 
virtual ~BoundedCurve ()
 
- Public Member Functions inherited from OpenLxApp::Curve
std::shared_ptr< Topo::Wire const > getWire () const
 
void translate (const Geom::Vec &v)
 
void transform (const Geom::Trsf &t)
 
void reverse ()
 
double firstParameter () const
 
double lastParameter () const
 
void d0 (double u, Geom::Pnt &p) const
 
void d1 (double u, Geom::Pnt &p, Geom::Vec &v1) const
 
void d2 (double u, Geom::Pnt &p, Geom::Vec &v1, Geom::Vec &v2) const
 
Geom::Pnt value (double U) const
 
double transformedParameter (double U, const Geom::Trsf &t) const
 
virtual ~Curve (void)
 
- Public Member Functions inherited from OpenLxApp::Geometry
virtual ~Geometry (void)
 
pShape computeShape (bool checkShape=false)
 
pConstShape getShape (void) const
 
double getPrecision () const
 
void setPrecision (double p)
 
Geom::Bnd_Box getBoundingBox () const
 
- Public Member Functions inherited from OpenLxApp::DocObject
std::shared_ptr< DocumentgetDocument () const
 
bool isNew () const
 
bool isUpdated () const
 
bool isValid () const
 
bool hasErrors () const
 
void touch ()
 
LxIfc4::LxIfc4EntityEnum getEntityType () const
 
std::string getEntityTypeAsString () const
 
std::shared_ptr< Core::DbgInfogetDbgInfo () const
 
 DocObject (Core::DocObject *aObject)
 
virtual ~DocObject (void)
 
Core::DocObject__getObj__ () const
 

Additional Inherited Members

- Protected Member Functions inherited from OpenLxApp::BoundedCurve
 BoundedCurve ()
 
- Protected Member Functions inherited from OpenLxApp::Curve
 Curve (void)=default
 
- Protected Member Functions inherited from OpenLxApp::Geometry
 Geometry ()=default
 
- Protected Member Functions inherited from OpenLxApp::DocObject
 DocObject ()
 
- Protected Attributes inherited from OpenLxApp::DocObject
Core::DocObject_coreObj = nullptr
 

Detailed Description

This is a special type of curve which can be represented as a type of B-spline curve in which the knots are evenly spaced and have high multiplicities. Suitable default values for the knots and knot multiplicities are derived in this case. (Definition from ISO/CD 16739:2011)

See also
Documentation from IFC2x3: IfcBezierCurve

Constructor & Destructor Documentation

◆ ~BezierCurve()

OpenLxApp::BezierCurve::~BezierCurve ( void  )

Member Function Documentation

◆ getClosedCurve()

bool OpenLxApp::BezierCurve::getClosedCurve ( ) const

◆ getControlPointsList()

std::vector<Geom::Pnt> OpenLxApp::BezierCurve::getControlPointsList ( ) const

◆ getDegree()

int OpenLxApp::BezierCurve::getDegree ( ) const

◆ getSelfIntersect()

bool OpenLxApp::BezierCurve::getSelfIntersect ( ) const

◆ setClosedCurve()

void OpenLxApp::BezierCurve::setClosedCurve ( const bool &  aValue)

◆ setControlPointsList()

void OpenLxApp::BezierCurve::setControlPointsList ( const std::vector< Geom::Pnt > &  aValue)

◆ setDegree()

void OpenLxApp::BezierCurve::setDegree ( const int &  aValue)

◆ setSelfIntersect()

void OpenLxApp::BezierCurve::setSelfIntersect ( const bool &  aValue)

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