|
Open CASCADE Technology
6.5.4
|
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>

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 | |
| gp_Pnt IGESGeom_Line::EndPoint | ( | ) | const |
| Standard_Integer IGESGeom_Line::Infinite | ( | ) | const |
| 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 |
1.8.0