Class Ifc4x2::IfcLine

Nested Relationships

This class is a nested type of Struct Ifc4x2.

Inheritance Relationships

Base Type

Class Documentation

class Ifc4x2::IfcLine : public Ifc4x2::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

::Ifc4x2::IfcCartesianPoint *Pnt() const

The location of the line.

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

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

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

Public Static Functions

const IfcParse::entity &Class()