Open CASCADE Technology 6.6.0
Public Member Functions
IGESGraph_LineFontDefTemplate Class Reference

defines IGESLineFontDefTemplate, Type <304> Form <1>
in package IGESGraph

Line Font can be defined as a repetition od Template figure
that is displayed at regularly spaced locations along a
planer anchoring curve. The anchoring curve itself has
no visual purpose.

#include <IGESGraph_LineFontDefTemplate.hxx>

Inheritance diagram for IGESGraph_LineFontDefTemplate:
Inheritance graph
[legend]

Public Member Functions

 IGESGraph_LineFontDefTemplate ()
void Init (const Standard_Integer anOrientation, const Handle< IGESBasic_SubfigureDef > &aTemplate, const Standard_Real aDistance, const Standard_Real aScale)
 This method is used to set the fields of the class
LineFontDefTemplate

Standard_Integer Orientation () const
 if return value = 0, Each Template display is oriented by aligning
the axis of the SubfigureDef with the axis of
the definition space of the anchoring curve.
= 1, Each Template display is oriented by aligning
X-axis of the SubfigureDef with the tangent
vector of the anchoring curve at the point of
incidence of the curve and the origin of
subfigure.
Similarly Z-axis is aligned.

Handle_IGESBasic_SubfigureDef TemplateEntity () const
 returns SubfigureDef as the Entity used as Template figure.

Standard_Real Distance () const
 returns the Distance between any two Template figures on the
anchoring curve.

Standard_Real Scale () const
 returns the Scaling factor applied to SubfigureDef to form
Template figure.


Constructor & Destructor Documentation

IGESGraph_LineFontDefTemplate::IGESGraph_LineFontDefTemplate ( )

Member Function Documentation

Standard_Real IGESGraph_LineFontDefTemplate::Distance ( ) const
void IGESGraph_LineFontDefTemplate::Init ( const Standard_Integer  anOrientation,
const Handle< IGESBasic_SubfigureDef > &  aTemplate,
const Standard_Real  aDistance,
const Standard_Real  aScale 
)
  • anOrientation : Orientation of Template figure on
    anchoring curve
  • aTemplate : SubfigureDef entity used as Template figure
  • aDistance : Distance between the neighbouring Template
    figures
  • aScale : Scale factor applied to the Template figure
Standard_Integer IGESGraph_LineFontDefTemplate::Orientation ( ) const
Standard_Real IGESGraph_LineFontDefTemplate::Scale ( ) const
Handle_IGESBasic_SubfigureDef IGESGraph_LineFontDefTemplate::TemplateEntity ( ) const

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