Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
IGESDraw_CircArraySubfigure Class Reference

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>

Inheritance diagram for IGESDraw_CircArraySubfigure:
Inheritance graph
[legend]

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().


Constructor & Destructor Documentation


Member Function Documentation

Handle_IGESData_IGESEntity IGESDraw_CircArraySubfigure::BaseEntity ( ) const
  • aBase : Base entity
  • aNumLocs : Total number of possible instance locations
  • aCenter : Coordinates of Center of imaginary circle
  • aRadius : Radius of imaginary circle
  • aStAngle : Start angle in radians
  • aDelAngle : Delta angle in radians
  • aFlag : DO-DON'T flag to control which portion to
    display
  • allNumPos : All position to be or not to be processed

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