OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    STEPConstruct_Assembly Class Reference

    This operator creates and checks an item of an assembly, from its basic data : a ShapeRepresentation, a Location ... More...

    #include <STEPConstruct_Assembly.hxx>

    Public Member Functions

     STEPConstruct_Assembly ()
    void Init (const occ::handle< StepShape_ShapeDefinitionRepresentation > &aSR, const occ::handle< StepShape_ShapeDefinitionRepresentation > &SDR0, const occ::handle< StepGeom_Axis2Placement3d > &Ax0, const occ::handle< StepGeom_Axis2Placement3d > &Loc)
     Initialises with starting values Ax0 : origin axis (typically, standard XYZ) Loc : location to which place the item Makes a MappedItem Resulting Value is returned by ItemValue.
    void Init (const occ::handle< StepShape_ShapeDefinitionRepresentation > &theSR, const occ::handle< StepShape_ShapeDefinitionRepresentation > &theSDR0, const occ::handle< StepGeom_CartesianTransformationOperator3d > &theTrsfOp)
     Initialises with starting values theTrsfOp : local transformation to apply, may have scaling factor Makes a MappedItem Resulting Value is returned by ItemValue.
    void MakeRelationship ()
     Make a (ShapeRepresentationRelationship,...WithTransformation) Resulting Value is returned by ItemValue.
    occ::handle< Standard_TransientItemValue () const
     Returns the Value If no Make... has been called, returns the starting SR.
    occ::handle< StepGeom_Axis2Placement3dItemLocation () const
     Returns the location of the item, computed from starting aLoc.
    occ::handle< StepRepr_NextAssemblyUsageOccurrenceGetNAUO () const
     Returns NAUO object describing the assembly link.

    Static Public Member Functions

    static bool CheckSRRReversesNAUO (const Interface_Graph &theGraph, const occ::handle< StepShape_ContextDependentShapeRepresentation > &CDSR)
     Checks whether SRR's definition of assembly and component contradicts with NAUO definition or not, according to model schema (AP214 or AP203).

    Detailed Description

    This operator creates and checks an item of an assembly, from its basic data : a ShapeRepresentation, a Location ...

    Three ways of coding such item from a ShapeRepresentation :

    • do nothing : i.e. information for assembly are ignored
    • create a MappedItem
    • create a RepresentationRelationship (WithTransformation)

    Constructor & Destructor Documentation

    ◆ STEPConstruct_Assembly()

    STEPConstruct_Assembly::STEPConstruct_Assembly ( )

    Member Function Documentation

    ◆ CheckSRRReversesNAUO()

    bool STEPConstruct_Assembly::CheckSRRReversesNAUO ( const Interface_Graph & theGraph,
    const occ::handle< StepShape_ContextDependentShapeRepresentation > & CDSR )
    static

    Checks whether SRR's definition of assembly and component contradicts with NAUO definition or not, according to model schema (AP214 or AP203).

    ◆ GetNAUO()

    occ::handle< StepRepr_NextAssemblyUsageOccurrence > STEPConstruct_Assembly::GetNAUO ( ) const

    Returns NAUO object describing the assembly link.

    ◆ Init() [1/2]

    Initialises with starting values Ax0 : origin axis (typically, standard XYZ) Loc : location to which place the item Makes a MappedItem Resulting Value is returned by ItemValue.

    ◆ Init() [2/2]

    Initialises with starting values theTrsfOp : local transformation to apply, may have scaling factor Makes a MappedItem Resulting Value is returned by ItemValue.

    ◆ ItemLocation()

    occ::handle< StepGeom_Axis2Placement3d > STEPConstruct_Assembly::ItemLocation ( ) const

    Returns the location of the item, computed from starting aLoc.

    ◆ ItemValue()

    occ::handle< Standard_Transient > STEPConstruct_Assembly::ItemValue ( ) const

    Returns the Value If no Make... has been called, returns the starting SR.

    ◆ MakeRelationship()

    void STEPConstruct_Assembly::MakeRelationship ( )

    Make a (ShapeRepresentationRelationship,...WithTransformation) Resulting Value is returned by ItemValue.


    The documentation for this class was generated from the following file: