blob: 4b92d052bde01807bc47b7a6d5bce0debd6bc4b4 (
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
|
// File: StepGeom_SurfaceBoundary.cxx
// Created: Fri Nov 26 16:26:28 1999
// Author: Andrey BETENEV
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
// Copyright: Matra Datavision 1999
#include <StepGeom_SurfaceBoundary.ixx>
//=======================================================================
//function : StepGeom_SurfaceBoundary
//purpose :
//=======================================================================
StepGeom_SurfaceBoundary::StepGeom_SurfaceBoundary ()
{
}
//=======================================================================
//function : CaseNum
//purpose :
//=======================================================================
Standard_Integer StepGeom_SurfaceBoundary::CaseNum (const Handle(Standard_Transient)& ent) const
{
if (ent.IsNull()) return 0;
if (ent->IsKind(STANDARD_TYPE(StepGeom_BoundaryCurve))) return 1;
if (ent->IsKind(STANDARD_TYPE(StepGeom_DegeneratePcurve))) return 2;
return 0;
}
//=======================================================================
//function : BoundaryCurve
//purpose :
//=======================================================================
Handle(StepGeom_BoundaryCurve) StepGeom_SurfaceBoundary::BoundaryCurve () const
{
return Handle(StepGeom_BoundaryCurve)::DownCast(Value());
}
//=======================================================================
//function : DegeneratePcurve
//purpose :
//=======================================================================
Handle(StepGeom_DegeneratePcurve) StepGeom_SurfaceBoundary::DegeneratePcurve () const
{
return Handle(StepGeom_DegeneratePcurve)::DownCast(Value());
}
|