Class Ifc4::IfcLine

Nested Relationships

This class is a nested type of Struct Ifc4.

Inheritance Relationships

Base Type

Class Documentation

class Ifc4::IfcLine : public Ifc4::IfcCurve

Definition from ISO/CD 10303-42:1992: A line is an unbounded curve with constant tangent direction. A line is defined by a point and a direction. The positive direction of the line is in the direction of the Dir vector. The line is parameterized as follows:

P = Pnt V = Dir λ(u) = P + uV

and the parametric range is:

∞ < u < ∞

NOTE Corresponding ISO 10303 entity: line. Please refer to ISO/IS 10303-42:1994, p.37 for the final definition of the formal standard. The derived attribute Dim has been added at this level and was therefore demoted from the geometric_representation_item.

HISTORY New class in IFC Release 1.0

Public Types

typedef IfcTemplatedEntityList<IfcLine> list

Public Functions

::Ifc4::IfcCartesianPoint *Pnt() const

The location of the line.

void setPnt(::Ifc4::IfcCartesianPoint *v)
::Ifc4::IfcVector *Dir() const

The direction of the line, the magnitude and units of Dir affect the parameterization of the line.

void setDir(::Ifc4::IfcVector *v)
const IfcParse::entity &declaration() const
IfcLine(IfcEntityInstanceData *e)
IfcLine(::Ifc4::IfcCartesianPoint *v1_Pnt, ::Ifc4::IfcVector *v2_Dir)

Public Static Functions

const IfcParse::entity &Class()