Open CASCADE Technology 6.6.0
Public Member Functions
IGESDimen_WitnessLine Class Reference

defines WitnessLine, Type <106> Form <40>
in package IGESDimen
Contains one or more straight line segments associated
with drafting entities of various types

#include <IGESDimen_WitnessLine.hxx>

Inheritance diagram for IGESDimen_WitnessLine:
Inheritance graph
[legend]

Public Member Functions

 IGESDimen_WitnessLine ()
void Init (const Standard_Integer dataType, const Standard_Real aDisp, const Handle< TColgp_HArray1OfXY > &dataPoints)
 This method is used to set the fields of the class
WitnessLine

Standard_Integer Datatype () const
 returns Interpretation Flag, always = 1

Standard_Integer NbPoints () const
 returns number of Data Points

Standard_Real ZDisplacement () const
 returns common Z displacement

gp_Pnt Point (const Standard_Integer Index) const
 returns Index'th. data point
raises exception if Index <= 0 or Index > NbPoints

gp_Pnt TransformedPoint (const Standard_Integer Index) const
 returns data point after Transformation.
raises exception if Index <= 0 or Index > NbPoints


Constructor & Destructor Documentation

IGESDimen_WitnessLine::IGESDimen_WitnessLine ( )

Member Function Documentation

Standard_Integer IGESDimen_WitnessLine::Datatype ( ) const
void IGESDimen_WitnessLine::Init ( const Standard_Integer  dataType,
const Standard_Real  aDisp,
const Handle< TColgp_HArray1OfXY > &  dataPoints 
)
  • dataType : Interpretation Flag, always = 1
  • aDispl : Common z displacement
  • dataPoints : Data points
Standard_Integer IGESDimen_WitnessLine::NbPoints ( ) const
gp_Pnt IGESDimen_WitnessLine::Point ( const Standard_Integer  Index) const
gp_Pnt IGESDimen_WitnessLine::TransformedPoint ( const Standard_Integer  Index) const
Standard_Real IGESDimen_WitnessLine::ZDisplacement ( ) const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines