Class Ifc4x2::IfcAxis2Placement2D

Nested Relationships

This class is a nested type of Struct Ifc4x2.

Inheritance Relationships

Base Type

Class Documentation

class Ifc4x2::IfcAxis2Placement2D : public Ifc4x2::IfcPlacement

Definition from ISO/CD 10303-42:1992: The location and orientation in two dimensional space of two mutually perpendicular axes. An axis2_placement_2d is defined in terms of a point, (inherited from the placement supertype), and an axis. It can be used to locate and originate an object in two dimensional space and to define a placement coordinate system. The class includes a point which forms the origin of the placement coordinate system. A direction vector is required to complete the definition of the placement coordinate system. The reference direction defines the placement X axis direction, the placement Y axis is derived from this.

If the RefDirection attribute is not given, the placement defaults to P[1] (x-axis) as [1.,0.] and P[2] (y-axis) as [0.,1.].

NOTE Corresponding ISO 10303 name: axis2_placement_2d, please refer to ISO/IS 10303-42:1994, p. 28 for the final definition of the formal standard.

HISTORY New entity in IFC Release 1.5.

Figure 275 illustrates the definition of the IfcAxis2Placement2D within the two-dimensional coordinate system.

Figure 275 — Axis2 placement 2D

Public Types

typedef IfcTemplatedEntityList<IfcAxis2Placement2D> list

Public Functions

bool hasRefDirection() const

Whether the optional attribute RefDirection is defined for this IfcAxis2Placement2D.

::Ifc4x2::IfcDirection *RefDirection() const

The direction used to determine the direction of the local X axis. If a value is omited that it defaults to [1.0, 0.0.].

void setRefDirection(::Ifc4x2::IfcDirection *v)
const IfcParse::entity &declaration() const
IfcAxis2Placement2D(IfcEntityInstanceData *e)
IfcAxis2Placement2D(::Ifc4x2::IfcCartesianPoint *v1_Location, ::Ifc4x2::IfcDirection *v2_RefDirection)

Public Static Functions

const IfcParse::entity &Class()