This is a helper class to form a dump of a polyline 2d curves creation algorithm.
#include <GEOMImpl_PolylineDumper.hxx>
|
| GEOMImpl_PolylineDumper (const std::list< std::list< double > > &theCoords, const Handle(TColStd_HArray1OfExtendedString)&theNames, const Handle(TColStd_HArray1OfByte)&theTypes, const Handle(TColStd_HArray1OfByte)&theCloseds, const Handle(TColStd_HArray1OfReal)&thePlnCoords) |
| This construcor initializes the object with 2D polyline creation parameters. More...
|
|
| GEOMImpl_PolylineDumper (const std::list< std::list< double > > &theCoords, const Handle(TColStd_HArray1OfExtendedString)&theNames, const Handle(TColStd_HArray1OfByte)&theTypes, const Handle(TColStd_HArray1OfByte)&theCloseds, const Handle(GEOM_Object)&theWorkingPlane) |
| This construcor initializes the object with 2D polyline creation parameters. More...
|
|
Standard_Boolean | IsDone () const |
| This method returns Standard_True if the dump description is created successfully. More...
|
|
Standard_Boolean | Dump (const Handle(GEOM_Object)&theObject) |
| This method performs dump of the polyline. More...
|
|
|
void | init () |
| This method generates the description required for python dump. More...
|
|
|
| Handle (TColStd_HArray1OfExtendedString) myNames |
|
| Handle (TColStd_HArray1OfByte) myTypes |
|
| Handle (TColStd_HArray1OfByte) myCloseds |
|
| Handle (TColStd_HArray1OfReal) myPlnCoords |
|
| Handle (GEOM_Object) myWorkingPlane |
|
GEOMImpl_PolylineDumper::GEOMImpl_PolylineDumper |
( |
const std::list< std::list< double > > & |
theCoords, |
|
|
const Handle(TColStd_HArray1OfExtendedString)& |
theNames, |
|
|
const Handle(TColStd_HArray1OfByte)& |
theTypes, |
|
|
const Handle(TColStd_HArray1OfByte)& |
theCloseds, |
|
|
const Handle(TColStd_HArray1OfReal)& |
thePlnCoords |
|
) |
| |
- Parameters
-
theCoords | the list of coordinates list. theCoordsList[0] is the coordinates list of the first section. theCoordsList[1] is for the second section etc. |
theNames | the list of names. The order corresponds to theCoords. |
theTypes | the list of curve types. The order corresponds to theCoords. |
theCloseds | the list of Closed flags. The order corresponds to theCoords. |
thePlnCoords | 9 double values, defining origin, OZ and OX directions of the working plane. |
GEOMImpl_PolylineDumper::GEOMImpl_PolylineDumper |
( |
const std::list< std::list< double > > & |
theCoords, |
|
|
const Handle(TColStd_HArray1OfExtendedString)& |
theNames, |
|
|
const Handle(TColStd_HArray1OfByte)& |
theTypes, |
|
|
const Handle(TColStd_HArray1OfByte)& |
theCloseds, |
|
|
const Handle(GEOM_Object)& |
theWorkingPlane |
|
) |
| |
- Parameters
-
theCoords | the list of coordinates list. theCoordsList[0] is the coordinates list of the first section. theCoordsList[1] is for the second section etc. |
theNames | the list of names. The order corresponds to theCoords. |
theTypes | the list of curve types. The order corresponds to theCoords. |
theCloseds | the list of Closed flags. The order corresponds to theCoords. |
theWorkingPlane | planar Face or LCS(Marker) of the working plane. |
Standard_Boolean GEOMImpl_PolylineDumper::Dump |
( |
const Handle(GEOM_Object)& |
theObject | ) |
|
- Parameters
-
theObject | the newly created object. |
- Returns
- Standard_True in case of success; Standard_False otherwise.
References Handle().
GEOMImpl_PolylineDumper::Handle |
( |
TColStd_HArray1OfExtendedString |
| ) |
|
|
private |
GEOMImpl_PolylineDumper::Handle |
( |
TColStd_HArray1OfByte |
| ) |
|
|
private |
GEOMImpl_PolylineDumper::Handle |
( |
TColStd_HArray1OfByte |
| ) |
|
|
private |
GEOMImpl_PolylineDumper::Handle |
( |
TColStd_HArray1OfReal |
| ) |
|
|
private |
void GEOMImpl_PolylineDumper::init |
( |
| ) |
|
|
protected |
Standard_Boolean GEOMImpl_PolylineDumper::IsDone |
( |
| ) |
const |
|
inline |
- Returns
- Standard_True in case of success; Standard_False otherwise.
const std::list<std::list <double> >& GEOMImpl_PolylineDumper::myCoords |
|
private |
TCollection_ExtendedString GEOMImpl_PolylineDumper::myDescr |
|
private |
Standard_Boolean GEOMImpl_PolylineDumper::myIsDone |
|
private |
The documentation for this class was generated from the following files: