# DataExchange
TKIGES
IGESDraw

# IGESDraw_RectArraySubfigure Class Reference

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>`

Inheritance diagram for IGESDraw_RectArraySubfigure:

[legend]

## Public Member Functions

Standard_EXPORT | IGESDraw_RectArraySubfigure ()
Standard_EXPORT 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
- aBase : a base entity which is replicated
- aScale : Scale Factor
- aCorner : lower left hand corner for the entire array
- nbCols : Number of columns of the array
- nbRows : Number of rows of the array
- hDisp : Column separations
- vtDisp : Row separation
- rotationAngle : Rotation angle specified in radians
- allDont : DO-DON'T flag to control which portion
to display
- allNumPos : List of positions to be or not to be
displayed
.

Standard_EXPORT Handle_IGESData_IGESEntity | BaseEntity () const
| returns the base entity, copies of which are produced
Standard_EXPORT Standard_Real | ScaleFactor () const
| returns the scale factor
Standard_EXPORT gp_Pnt | LowerLeftCorner () const
| returns coordinates of lower left hand corner for the entire array
Standard_EXPORT gp_Pnt | TransformedLowerLeftCorner () const
| returns Transformed coordinates of lower left corner for the array
Standard_EXPORT Standard_Integer | NbColumns () const
| returns number of columns in the array
Standard_EXPORT Standard_Integer | NbRows () const
| returns number of rows in the array
Standard_EXPORT Standard_Real | ColumnSeparation () const
| returns horizontal distance between columns
Standard_EXPORT Standard_Real | RowSeparation () const
| returns vertical distance between rows
Standard_EXPORT Standard_Real | RotationAngle () const
| returns rotation angle in radians
Standard_EXPORT Standard_Boolean | DisplayFlag () const
| returns True if (ListCount = 0) i.e., all elements to be displayed
Standard_EXPORT Standard_Integer | ListCount () const
| returns 0 if all replicated entities to be displayed
Standard_EXPORT 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_EXPORT 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_EXPORT Standard_Integer | ListPosition (const Standard_Integer Index) const
| returns the Index'th value position raises exception if Index <= 0 or Index > ListCount()
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const

## Private Attributes

Handle_IGESData_IGESEntity | theBaseEntity
Standard_Real | theScaleFactor
gp_XYZ | theLowerLeftCorner
Standard_Integer | theNbColumns
Standard_Integer | theNbRows
Standard_Real | theColumnSeparation
Standard_Real | theRowSeparation
Standard_Real | theRotationAngle
Standard_Integer | theDoDontFlag
Handle_TColStd_HArray1OfInteger | thePositions

## Constructor & Destructor Documentation

Standard_EXPORT IGESDraw_RectArraySubfigure::IGESDraw_RectArraySubfigure | ( |  | ) |

## Member Function Documentation

Standard_EXPORT Handle_IGESData_IGESEntity IGESDraw_RectArraySubfigure::BaseEntity | ( |  | ) | const

Standard_EXPORT Standard_Real IGESDraw_RectArraySubfigure::ColumnSeparation | ( |  | ) | const

Standard_EXPORT Standard_Boolean IGESDraw_RectArraySubfigure::DisplayFlag | ( |  | ) | const

Standard_EXPORT Standard_Boolean IGESDraw_RectArraySubfigure::DoDontFlag | ( |  | ) | const

Standard_EXPORT const IGESDraw_RectArraySubfigure::Handle | ( | Standard_Type |  | ) | const

| Reimplemented from IGESData_IGESEntity.

Standard_EXPORT 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
| ) |

Standard_EXPORT Standard_Integer IGESDraw_RectArraySubfigure::ListCount | ( |  | ) | const

Standard_EXPORT Standard_Integer IGESDraw_RectArraySubfigure::ListPosition | ( | const Standard_Integer | Index | ) | const

Standard_EXPORT gp_Pnt IGESDraw_RectArraySubfigure::LowerLeftCorner | ( |  | ) | const

Standard_EXPORT Standard_Integer IGESDraw_RectArraySubfigure::NbColumns | ( |  | ) | const

Standard_EXPORT Standard_Integer IGESDraw_RectArraySubfigure::NbRows | ( |  | ) | const

Standard_EXPORT Standard_Boolean IGESDraw_RectArraySubfigure::PositionNum | ( | const Standard_Integer | Index | ) | const

Standard_EXPORT Standard_Real IGESDraw_RectArraySubfigure::RotationAngle | ( |  | ) | const

Standard_EXPORT Standard_Real IGESDraw_RectArraySubfigure::RowSeparation | ( |  | ) | const

Standard_EXPORT Standard_Real IGESDraw_RectArraySubfigure::ScaleFactor | ( |  | ) | const

Standard_EXPORT gp_Pnt IGESDraw_RectArraySubfigure::TransformedLowerLeftCorner | ( |  | ) | const

## Field Documentation

Handle_IGESData_IGESEntity IGESDraw_RectArraySubfigure::theBaseEntity`[private]`

Standard_Real IGESDraw_RectArraySubfigure::theColumnSeparation`[private]`

Standard_Integer IGESDraw_RectArraySubfigure::theDoDontFlag`[private]`

gp_XYZ IGESDraw_RectArraySubfigure::theLowerLeftCorner`[private]`

Standard_Integer IGESDraw_RectArraySubfigure::theNbColumns`[private]`

Standard_Integer IGESDraw_RectArraySubfigure::theNbRows`[private]`

Handle_TColStd_HArray1OfInteger IGESDraw_RectArraySubfigure::thePositions`[private]`

Standard_Real IGESDraw_RectArraySubfigure::theRotationAngle`[private]`

Standard_Real IGESDraw_RectArraySubfigure::theRowSeparation`[private]`

Standard_Real IGESDraw_RectArraySubfigure::theScaleFactor`[private]`

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

- IGESDraw_RectArraySubfigure.hxx