// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _IGESDimen_SectionedArea_HeaderFile #define _IGESDimen_SectionedArea_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_IGESDimen_SectionedArea_HeaderFile #include #endif #ifndef _Handle_IGESData_IGESEntity_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _gp_XYZ_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _Handle_IGESData_HArray1OfIGESEntity_HeaderFile #include #endif #ifndef _IGESData_IGESEntity_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif class IGESData_IGESEntity; class IGESData_HArray1OfIGESEntity; class Standard_OutOfRange; class gp_XYZ; class gp_Pnt; //! defines IGES Sectioned Area, Type <230> Form <0>,
//! in package IGESDimen
//! A sectioned area is a portion of a design which is to be
//! filled with a pattern of lines. Ordinarily, this entity
//! is used to reveal or expose shape or material characteri-
//! stics defined by other entities. It consists of a pointer
//! to an exterior definition curve, a specification of the
//! pattern of lines, the coordinates of a point on a pattern
//! line, the distance between the pattern lines, the angle
//! between the pattern lines and the X-axis of definition
//! space, and the specification of any enclosed definition
//! curves (commonly known as islands).
class IGESDimen_SectionedArea : public IGESData_IGESEntity { public: Standard_EXPORT IGESDimen_SectionedArea(); Standard_EXPORT void Init(const Handle(IGESData_IGESEntity)& aCurve,const Standard_Integer aPattern,const gp_XYZ& aPoint,const Standard_Real aDistance,const Standard_Real anAngle,const Handle(IGESData_HArray1OfIGESEntity)& someIslands) ; //! Sets the cross hatches to be inverted or not,
//! according value of (corresponds to FormNumber)
Standard_EXPORT void SetInverted(const Standard_Boolean mode) ; //! Returns True if cross hatches as Inverted, else they are
//! Standard (Inverted : Form=1, Standard : Form=0)
Standard_EXPORT Standard_Boolean IsInverted() const; //! returns the exterior definition curve
Standard_EXPORT Handle_IGESData_IGESEntity ExteriorCurve() const; //! returns fill pattern code
Standard_EXPORT Standard_Integer Pattern() const; //! returns point thru which line should pass
Standard_EXPORT gp_Pnt PassingPoint() const; //! returns point thru which line should pass after Transformation
Standard_EXPORT gp_Pnt TransformedPassingPoint() const; //! returns the Z depth
Standard_EXPORT Standard_Real ZDepth() const; //! returns the normal distance between lines
Standard_EXPORT Standard_Real Distance() const; //! returns the angle of lines with XT axis
Standard_EXPORT Standard_Real Angle() const; //! returns the number of island curves
Standard_EXPORT Standard_Integer NbIslands() const; //! returns the interior definition curves, returns Null Handle
//! exception raised if Index <= 0 or Index > NbIslands()
Standard_EXPORT Handle_IGESData_IGESEntity IslandCurve(const Standard_Integer Index) const; DEFINE_STANDARD_RTTI(IGESDimen_SectionedArea) protected: private: Handle_IGESData_IGESEntity theExteriorCurve; Standard_Integer thePattern; gp_XYZ thePassingPoint; Standard_Real theDistance; Standard_Real theAngle; Handle_IGESData_HArray1OfIGESEntity theIslandCurves; }; // other Inline functions and methods (like "C++: function call" methods) #endif