OCC Main Page | DataExchange | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

DataExchange
TKIGES
IGESGeom


IGESGeom_TrimmedSurface Class Reference

defines IGESTrimmedSurface, Type <144> Form <0>
in package IGESGeom
A simple closed curve in Euclidean plane divides the
plane in to two disjoint, open connected components; one
bounded, one unbounded. The bounded one is called the
interior region to the curve. Unbounded component is called
exterior region to the curve. The domain of the trimmed
surface is defined as the interior of the outer boundaries
and exterior of the inner boundaries and includes the
boundary curves.

#include <IGESGeom_TrimmedSurface.hxx>

Inheritance diagram for IGESGeom_TrimmedSurface:

Inheritance graph
[legend]

Public Member Functions

Standard_EXPORT IGESGeom_TrimmedSurface ()
Standard_EXPORT void Init (const Handle(IGESData_IGESEntity)&aSurface, const Standard_Integer aFlag, const Handle(IGESGeom_CurveOnSurface)&anOuter, const Handle(IGESGeom_HArray1OfCurveOnSurface)&allInners)
 This method is used to set the fields of the class
TrimmedSurface
- aSurface : Surface to be trimmed
- aFlag : Outer boundary type
False = The outer boundary is the boundary of
rectangle D which is the domain of the
surface to be trimmed
True = otherwise
- anOuter : Closed curve which constitutes outer boundary
- allInners : Array of closed curves which constitute the
inner boundary
.
Standard_EXPORT Handle_IGESData_IGESEntity Surface () const
 returns the surface to be trimmed

Standard_EXPORT Standard_Boolean HasOuterContour () const
 returns True if outer contour exists

Standard_EXPORT Handle_IGESGeom_CurveOnSurface OuterContour () const
 returns the outer contour of the trimmed surface

Standard_EXPORT Standard_Integer OuterBoundaryType () const
 returns the outer contour type of the trimmed surface
0 : The outer boundary is the boundary of D
1 : otherwise

Standard_EXPORT Standard_Integer NbInnerContours () const
 returns the number of inner boundaries

Standard_EXPORT Handle_IGESGeom_CurveOnSurface InnerContour (const Standard_Integer Index) const
 returns the Index'th inner contour
raises exception if Index <= 0 or Index > NbInnerContours()

Standard_EXPORT const Handle (Standard_Type)&DynamicType() const

Private Attributes

Handle_IGESData_IGESEntity theSurface
Standard_Integer theFlag
Handle_IGESGeom_CurveOnSurface theOuterCurve
Handle_IGESGeom_HArray1OfCurveOnSurface theInnerCurves

Constructor & Destructor Documentation

Standard_EXPORT IGESGeom_TrimmedSurface::IGESGeom_TrimmedSurface  ) 
 


Member Function Documentation

Standard_EXPORT const IGESGeom_TrimmedSurface::Handle Standard_Type   )  const
 

Reimplemented from IGESData_IGESEntity.

Standard_EXPORT Standard_Boolean IGESGeom_TrimmedSurface::HasOuterContour  )  const
 

Standard_EXPORT void IGESGeom_TrimmedSurface::Init const Handle(IGESData_IGESEntity)&  aSurface,
const Standard_Integer  aFlag,
const Handle(IGESGeom_CurveOnSurface)&  anOuter,
const Handle(IGESGeom_HArray1OfCurveOnSurface)&  allInners
 

Standard_EXPORT Handle_IGESGeom_CurveOnSurface IGESGeom_TrimmedSurface::InnerContour const Standard_Integer  Index  )  const
 

Standard_EXPORT Standard_Integer IGESGeom_TrimmedSurface::NbInnerContours  )  const
 

Standard_EXPORT Standard_Integer IGESGeom_TrimmedSurface::OuterBoundaryType  )  const
 

Standard_EXPORT Handle_IGESGeom_CurveOnSurface IGESGeom_TrimmedSurface::OuterContour  )  const
 

Standard_EXPORT Handle_IGESData_IGESEntity IGESGeom_TrimmedSurface::Surface  )  const
 


Field Documentation

Standard_Integer IGESGeom_TrimmedSurface::theFlag [private]
 

Handle_IGESGeom_HArray1OfCurveOnSurface IGESGeom_TrimmedSurface::theInnerCurves [private]
 

Handle_IGESGeom_CurveOnSurface IGESGeom_TrimmedSurface::theOuterCurve [private]
 

Handle_IGESData_IGESEntity IGESGeom_TrimmedSurface::theSurface [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 14:40:56 2008 for OpenCASCADE by  doxygen 1.4.1