// 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 _IGESGeom_CompositeCurve_HeaderFile #define _IGESGeom_CompositeCurve_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_IGESGeom_CompositeCurve_HeaderFile #include #endif #ifndef _Handle_IGESData_HArray1OfIGESEntity_HeaderFile #include #endif #ifndef _IGESData_IGESEntity_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Handle_IGESData_IGESEntity_HeaderFile #include #endif class IGESData_HArray1OfIGESEntity; class Standard_OutOfRange; class IGESData_IGESEntity; //! defines IGESCompositeCurve, Type <102> Form <0>
//! in package IGESGeom
//! A composite curve is defined as an ordered list of entities
//! consisting of a point, connect point and parametrised curve
//! entities (excluding the CompositeCurve entity).
class IGESGeom_CompositeCurve : public IGESData_IGESEntity { public: Standard_EXPORT IGESGeom_CompositeCurve(); //! This method is used to set the fields of the class
//! CompositeCurve
//! - allEntities : Constituent Entities of the composite curve
Standard_EXPORT void Init(const Handle(IGESData_HArray1OfIGESEntity)& allEntities) ; //! returns the number of curves contained in the CompositeCurve
Standard_EXPORT Standard_Integer NbCurves() const; //! returns Component of the CompositeCurve (a curve or a point)
//! raises exception if Index <= 0 or Index > NbCurves()
Standard_EXPORT Handle_IGESData_IGESEntity Curve(const Standard_Integer Index) const; DEFINE_STANDARD_RTTI(IGESGeom_CompositeCurve) protected: private: Handle_IGESData_HArray1OfIGESEntity theEntities; }; // other Inline functions and methods (like "C++: function call" methods) #endif