Open CASCADE Technology 6.6.0
|
Defines IGES Circular Array Subfigure Instance Entity,
Type <414> Form Number <0> in package IGESDraw
Used to produce copies of object called the base entity,
arranging them around the edge of an imaginary circle
whose center and radius are specified
#include <IGESDraw_CircArraySubfigure.hxx>
Public Member Functions | |
IGESDraw_CircArraySubfigure () | |
void | Init (const Handle< IGESData_IGESEntity > &aBase, const Standard_Integer aNumLocs, const gp_XYZ &aCenter, const Standard_Real aRadius, const Standard_Real aStAngle, const Standard_Real aDelAngle, const Standard_Integer aFlag, const Handle< TColStd_HArray1OfInteger > &allNumPos) |
This method is used to set the fields of the class CircArraySubfigure | |
Handle_IGESData_IGESEntity | BaseEntity () const |
returns the base entity, copies of which are produced | |
Standard_Integer | NbLocations () const |
returns total number of possible instance locations | |
gp_Pnt | CenterPoint () const |
returns the center of the imaginary circle | |
gp_Pnt | TransformedCenterPoint () const |
returns the Transformed center of the imaginary circle | |
Standard_Real | CircleRadius () const |
returns the radius of the imaginary circle | |
Standard_Real | StartAngle () const |
returns the start angle in radians | |
Standard_Real | DeltaAngle () const |
returns the delta angle in radians | |
Standard_Integer | ListCount () const |
returns 0 if all elements to be displayed | |
Standard_Boolean | DisplayFlag () const |
returns True if (ListCount = 0) all elements are 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 raises exception if Index <= 0 or Index > ListCount(). | |
Standard_Integer | ListPosition (const Standard_Integer Index) const |
returns the Index'th value position raises exception if Index <= 0 or Index > ListCount(). |
IGESDraw_CircArraySubfigure::IGESDraw_CircArraySubfigure | ( | ) |
Handle_IGESData_IGESEntity IGESDraw_CircArraySubfigure::BaseEntity | ( | ) | const |
gp_Pnt IGESDraw_CircArraySubfigure::CenterPoint | ( | ) | const |
Standard_Real IGESDraw_CircArraySubfigure::CircleRadius | ( | ) | const |
Standard_Real IGESDraw_CircArraySubfigure::DeltaAngle | ( | ) | const |
Standard_Boolean IGESDraw_CircArraySubfigure::DisplayFlag | ( | ) | const |
Standard_Boolean IGESDraw_CircArraySubfigure::DoDontFlag | ( | ) | const |
void IGESDraw_CircArraySubfigure::Init | ( | const Handle< IGESData_IGESEntity > & | aBase, |
const Standard_Integer | aNumLocs, | ||
const gp_XYZ & | aCenter, | ||
const Standard_Real | aRadius, | ||
const Standard_Real | aStAngle, | ||
const Standard_Real | aDelAngle, | ||
const Standard_Integer | aFlag, | ||
const Handle< TColStd_HArray1OfInteger > & | allNumPos | ||
) |
Standard_Integer IGESDraw_CircArraySubfigure::ListCount | ( | ) | const |
Standard_Integer IGESDraw_CircArraySubfigure::ListPosition | ( | const Standard_Integer | Index | ) | const |
Standard_Integer IGESDraw_CircArraySubfigure::NbLocations | ( | ) | const |
Standard_Boolean IGESDraw_CircArraySubfigure::PositionNum | ( | const Standard_Integer | Index | ) | const |
Standard_Real IGESDraw_CircArraySubfigure::StartAngle | ( | ) | const |
gp_Pnt IGESDraw_CircArraySubfigure::TransformedCenterPoint | ( | ) | const |