Open CASCADE Technology
6.5.4
|
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).
#include <IGESDimen_SectionedArea.hxx>
Public Member Functions | |
IGESDimen_SectionedArea () | |
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) |
void | SetInverted (const Standard_Boolean mode) |
Sets the cross hatches to be inverted or not, according value of <mode> (corresponds to FormNumber) | |
Standard_Boolean | IsInverted () const |
Returns True if cross hatches as Inverted, else they are Standard (Inverted : Form=1, Standard : Form=0) | |
Handle_IGESData_IGESEntity | ExteriorCurve () const |
returns the exterior definition curve | |
Standard_Integer | Pattern () const |
returns fill pattern code | |
gp_Pnt | PassingPoint () const |
returns point thru which line should pass | |
gp_Pnt | TransformedPassingPoint () const |
returns point thru which line should pass after Transformation | |
Standard_Real | ZDepth () const |
returns the Z depth | |
Standard_Real | Distance () const |
returns the normal distance between lines | |
Standard_Real | Angle () const |
returns the angle of lines with XT axis | |
Standard_Integer | NbIslands () const |
returns the number of island curves | |
Handle_IGESData_IGESEntity | IslandCurve (const Standard_Integer Index) const |
returns the interior definition curves, returns Null Handle exception raised if Index <= 0 or Index > NbIslands() |
Standard_Real IGESDimen_SectionedArea::Angle | ( | ) | const |
Handle_IGESData_IGESEntity IGESDimen_SectionedArea::ExteriorCurve | ( | ) | const |
void IGESDimen_SectionedArea::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 | ||
) |
Handle_IGESData_IGESEntity IGESDimen_SectionedArea::IslandCurve | ( | const Standard_Integer | Index | ) | const |
gp_Pnt IGESDimen_SectionedArea::PassingPoint | ( | ) | const |
Standard_Real IGESDimen_SectionedArea::ZDepth | ( | ) | const |