1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
|
// 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
#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_IGESGeom_CompositeCurve.hxx>
#include <Handle_IGESData_HArray1OfIGESEntity.hxx>
#include <IGESData_IGESEntity.hxx>
#include <Standard_Integer.hxx>
#include <Handle_IGESData_IGESEntity.hxx>
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;
};
#endif // _IGESGeom_CompositeCurve_HeaderFile
|