Open CASCADE Technology
6.5.4
|
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>
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. |
void IGESGraph_LineFontDefTemplate::Init | ( | const Standard_Integer | anOrientation, |
const Handle< IGESBasic_SubfigureDef > & | aTemplate, | ||
const Standard_Real | aDistance, | ||
const Standard_Real | aScale | ||
) |
Handle_IGESBasic_SubfigureDef IGESGraph_LineFontDefTemplate::TemplateEntity | ( | ) | const |