summaryrefslogtreecommitdiff
path: root/src/StepFEA/StepFEA_CurveElementEndCoordinateSystem.cxx
blob: f92fa4e52a451375125ed7c3452c5477f1e6fbcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// File:	StepFEA_CurveElementEndCoordinateSystem.cxx
// Created:	Thu Dec 12 17:51:03 2002 
// Author:	data exchange team
// Generator:	ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
// Copyright:	Open CASCADE 2002

#include <StepFEA_CurveElementEndCoordinateSystem.ixx>

//=======================================================================
//function : StepFEA_CurveElementEndCoordinateSystem
//purpose  : 
//=======================================================================

StepFEA_CurveElementEndCoordinateSystem::StepFEA_CurveElementEndCoordinateSystem ()
{
}

//=======================================================================
//function : CaseNum
//purpose  : 
//=======================================================================

Standard_Integer StepFEA_CurveElementEndCoordinateSystem::CaseNum (const Handle(Standard_Transient)& ent) const
{
  if (ent.IsNull()) return 0;
  if (ent->IsKind(STANDARD_TYPE(StepFEA_FeaAxis2Placement3d))) return 1;
  if (ent->IsKind(STANDARD_TYPE(StepFEA_AlignedCurve3dElementCoordinateSystem))) return 2;
  if (ent->IsKind(STANDARD_TYPE(StepFEA_ParametricCurve3dElementCoordinateSystem))) return 3;
  return 0;
}

//=======================================================================
//function : FeaAxis2Placement3d
//purpose  : 
//=======================================================================

Handle(StepFEA_FeaAxis2Placement3d) StepFEA_CurveElementEndCoordinateSystem::FeaAxis2Placement3d () const
{
  return Handle(StepFEA_FeaAxis2Placement3d)::DownCast(Value());
}

//=======================================================================
//function : AlignedCurve3dElementCoordinateSystem
//purpose  : 
//=======================================================================

Handle(StepFEA_AlignedCurve3dElementCoordinateSystem) StepFEA_CurveElementEndCoordinateSystem::AlignedCurve3dElementCoordinateSystem () const
{
  return Handle(StepFEA_AlignedCurve3dElementCoordinateSystem)::DownCast(Value());
}

//=======================================================================
//function : ParametricCurve3dElementCoordinateSystem
//purpose  : 
//=======================================================================

Handle(StepFEA_ParametricCurve3dElementCoordinateSystem) StepFEA_CurveElementEndCoordinateSystem::ParametricCurve3dElementCoordinateSystem () const
{
  return Handle(StepFEA_ParametricCurve3dElementCoordinateSystem)::DownCast(Value());
}