mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
96 lines
2.7 KiB
C++
96 lines
2.7 KiB
C++
// Created on: 1993-01-11
|
|
// Created by: CKY / Contract Toubro-Larsen ( Anand NATRAJAN )
|
|
// Copyright (c) 1993-1999 Matra Datavision
|
|
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
|
//
|
|
// This file is part of Open CASCADE Technology software library.
|
|
//
|
|
// This library is free software; you can redistribute it and/or modify it under
|
|
// the terms of the GNU Lesser General Public License version 2.1 as published
|
|
// by the Free Software Foundation, with special exception defined in the file
|
|
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
|
// distribution for complete text of the license and disclaimer of any warranty.
|
|
//
|
|
// Alternatively, this file may be used under the terms of Open CASCADE
|
|
// commercial license or contractual agreement.
|
|
|
|
#ifndef _IGESAppli_NodalConstraint_HeaderFile
|
|
#define _IGESAppli_NodalConstraint_HeaderFile
|
|
|
|
#include <Standard.hxx>
|
|
#include <Standard_Type.hxx>
|
|
|
|
#include <Standard_Integer.hxx>
|
|
#include <IGESDefs_HArray1OfTabularData.hxx>
|
|
#include <IGESData_IGESEntity.hxx>
|
|
class IGESAppli_Node;
|
|
class Standard_OutOfRange;
|
|
class IGESDefs_TabularData;
|
|
|
|
|
|
class IGESAppli_NodalConstraint;
|
|
DEFINE_STANDARD_HANDLE(IGESAppli_NodalConstraint, IGESData_IGESEntity)
|
|
|
|
//! defines NodalConstraint, Type <418> Form <0>
|
|
//! in package IGESAppli
|
|
//! Relates loads and/or constraints to specific nodes in
|
|
//! the Finite Element Model by creating a relation between
|
|
//! Node entities and Tabular Data Property that contains
|
|
//! the load or constraint data
|
|
class IGESAppli_NodalConstraint : public IGESData_IGESEntity
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
Standard_EXPORT IGESAppli_NodalConstraint();
|
|
|
|
//! This method is used to set the fields of the class
|
|
//! NodalConstraint
|
|
//! - aType : Loads / Constraints
|
|
//! - aNode : the Node
|
|
//! - allTabData : Tabular Data Property carrying the load
|
|
//! or constraint vector
|
|
Standard_EXPORT void Init (const Standard_Integer aType, const Handle(IGESAppli_Node)& aNode, const Handle(IGESDefs_HArray1OfTabularData)& allTabData);
|
|
|
|
//! returns total number of cases
|
|
Standard_EXPORT Standard_Integer NbCases() const;
|
|
|
|
//! returns whether Loads (1) or Constraints (2)
|
|
Standard_EXPORT Standard_Integer Type() const;
|
|
|
|
//! returns the Node
|
|
Standard_EXPORT Handle(IGESAppli_Node) NodeEntity() const;
|
|
|
|
//! returns Tabular Data Property carrying load or constraint vector
|
|
//! raises exception if Index <= 0 or Index > NbCases
|
|
Standard_EXPORT Handle(IGESDefs_TabularData) TabularData (const Standard_Integer Index) const;
|
|
|
|
|
|
|
|
|
|
DEFINE_STANDARD_RTTIEXT(IGESAppli_NodalConstraint,IGESData_IGESEntity)
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
Standard_Integer theType;
|
|
Handle(IGESAppli_Node) theNode;
|
|
Handle(IGESDefs_HArray1OfTabularData) theTabularDataProps;
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // _IGESAppli_NodalConstraint_HeaderFile
|