Open CASCADE Technology 6.6.0
Public Member Functions
IGESGeom_Line Class Reference

defines IGESLine, Type <110> Form <0>
in package IGESGeom
A line is a bounded, connected portion of a parent straight
line which consists of more than one point. A line is
defined by its end points.

From IGES-5.3, two other Forms are admitted (same params) :
0 remains for standard limited line (the default)
1 for semi-infinite line (End is just a passing point)
2 for full infinite Line (both Start and End are abitrary)

#include <IGESGeom_Line.hxx>

Inheritance diagram for IGESGeom_Line:
Inheritance graph
[legend]

Public Member Functions

 IGESGeom_Line ()
void Init (const gp_XYZ &aStart, const gp_XYZ &anEnd)
 This method is used to set the fields of the class Line

Standard_Integer Infinite () const
 Returns the Infinite status i.e. the Form Number : 0 1 2

void SetInfinite (const Standard_Integer status)
 Sets the Infinite status
Does nothing if <status> is not 0 1 or 2

gp_Pnt StartPoint () const
 returns the start point of the line

gp_Pnt TransformedStartPoint () const
 returns the start point of the line after applying Transf. Matrix

gp_Pnt EndPoint () const
 returns the end point of the line

gp_Pnt TransformedEndPoint () const
 returns the end point of the line after applying Transf. Matrix


Constructor & Destructor Documentation

IGESGeom_Line::IGESGeom_Line ( )

Member Function Documentation

gp_Pnt IGESGeom_Line::EndPoint ( ) const
Standard_Integer IGESGeom_Line::Infinite ( ) const
void IGESGeom_Line::Init ( const gp_XYZ aStart,
const gp_XYZ anEnd 
)
  • aStart : Start point of the line
  • anEnd : End point of the line
void IGESGeom_Line::SetInfinite ( const Standard_Integer  status)
gp_Pnt IGESGeom_Line::StartPoint ( ) const
gp_Pnt IGESGeom_Line::TransformedEndPoint ( ) const
gp_Pnt IGESGeom_Line::TransformedStartPoint ( ) const

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