OpenLexocad
27.1
|
A trimmed curve is a bounded curve which is created by taking a selected portion, between two identified points, of the associated basis curve. The basis curve itself is unaltered and more than one trimmed curve may reference the same basis curve. (Definition from ISO/CD 16739:2011) More...
#include <TrimmedCurve.h>
Public Member Functions | |
double | getTrim1 () const |
void | setTrim1 (const double &aValue) |
double | getTrim2 () const |
void | setTrim2 (const double &aValue) |
bool | getSense () const |
void | setSense (const bool &aValue) |
~TrimmedCurve (void) | |
void | setBasisCurve (std::shared_ptr< Conic > aConic) |
void | setBasisCurve (std::shared_ptr< Line > aLine) |
std::shared_ptr< Curve > | getBasisCurve () const |
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< Document > | getDocument () 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::DbgInfo > | getDbgInfo () 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 |
A trimmed curve is a bounded curve which is created by taking a selected portion, between two identified points, of the associated basis curve. The basis curve itself is unaltered and more than one trimmed curve may reference the same basis curve. (Definition from ISO/CD 16739:2011)
OpenLxApp::TrimmedCurve::~TrimmedCurve | ( | void | ) |
std::shared_ptr<Curve> OpenLxApp::TrimmedCurve::getBasisCurve | ( | ) | const |
bool OpenLxApp::TrimmedCurve::getSense | ( | ) | const |
double OpenLxApp::TrimmedCurve::getTrim1 | ( | ) | const |
double OpenLxApp::TrimmedCurve::getTrim2 | ( | ) | const |
void OpenLxApp::TrimmedCurve::setBasisCurve | ( | std::shared_ptr< Conic > | aConic | ) |
void OpenLxApp::TrimmedCurve::setBasisCurve | ( | std::shared_ptr< Line > | aLine | ) |
void OpenLxApp::TrimmedCurve::setSense | ( | const bool & | aValue | ) |
void OpenLxApp::TrimmedCurve::setTrim1 | ( | const double & | aValue | ) |
void OpenLxApp::TrimmedCurve::setTrim2 | ( | const double & | aValue | ) |