Open CASCADE Technology
6.5.4
|
Defines IGES Rectangular Array Subfigure Instance Entity,
Type <412> Form Number <0> in package IGESDraw
Used to produce copies of object called the base entity,
arranging them in equally spaced rows and columns
#include <IGESDraw_RectArraySubfigure.hxx>
Public Member Functions | |
IGESDraw_RectArraySubfigure () | |
void | Init (const Handle< IGESData_IGESEntity > &aBase, const Standard_Real aScale, const gp_XYZ &aCorner, const Standard_Integer nbCols, const Standard_Integer nbRows, const Standard_Real hDisp, const Standard_Real vtDisp, const Standard_Real rotationAngle, const Standard_Integer doDont, const Handle< TColStd_HArray1OfInteger > &allNumPos) |
This method is used to set the fields of the class RectArraySubfigure | |
Handle_IGESData_IGESEntity | BaseEntity () const |
returns the base entity, copies of which are produced | |
Standard_Real | ScaleFactor () const |
returns the scale factor | |
gp_Pnt | LowerLeftCorner () const |
returns coordinates of lower left hand corner for the entire array | |
gp_Pnt | TransformedLowerLeftCorner () const |
returns Transformed coordinates of lower left corner for the array | |
Standard_Integer | NbColumns () const |
returns number of columns in the array | |
Standard_Integer | NbRows () const |
returns number of rows in the array | |
Standard_Real | ColumnSeparation () const |
returns horizontal distance between columns | |
Standard_Real | RowSeparation () const |
returns vertical distance between rows | |
Standard_Real | RotationAngle () const |
returns rotation angle in radians | |
Standard_Boolean | DisplayFlag () const |
returns True if (ListCount = 0) i.e., all elements to be displayed | |
Standard_Integer | ListCount () const |
returns 0 if all replicated entities to be displayed | |
Standard_Boolean | DoDontFlag () const |
returns 0 if half or fewer of the elements of the array are defined 1 if half or more of the elements are defined | |
Standard_Boolean | PositionNum (const Standard_Integer Index) const |
returns whether Index is to be processed (DO) or not to be processed(DON'T) if (ListCount = 0) return theDoDontFlag | |
Standard_Integer | ListPosition (const Standard_Integer Index) const |
returns the Index'th value position raises exception if Index <= 0 or Index > ListCount() |
Handle_IGESData_IGESEntity IGESDraw_RectArraySubfigure::BaseEntity | ( | ) | const |
void IGESDraw_RectArraySubfigure::Init | ( | const Handle< IGESData_IGESEntity > & | aBase, |
const Standard_Real | aScale, | ||
const gp_XYZ & | aCorner, | ||
const Standard_Integer | nbCols, | ||
const Standard_Integer | nbRows, | ||
const Standard_Real | hDisp, | ||
const Standard_Real | vtDisp, | ||
const Standard_Real | rotationAngle, | ||
const Standard_Integer | doDont, | ||
const Handle< TColStd_HArray1OfInteger > & | allNumPos | ||
) |