blob: d102632ecb3b9c4529b837fb8cd9b47907f285c5 (
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
|
//--------------------------------------------------------------------
//
// File Name : IGESSolid_SolidInstance.cxx
// Date :
// Author : CKY / Contract Toubro-Larsen
// Copyright : MATRA-DATAVISION 1993
//
//--------------------------------------------------------------------
#include <IGESSolid_SolidInstance.ixx>
IGESSolid_SolidInstance::IGESSolid_SolidInstance () { }
void IGESSolid_SolidInstance::Init
(const Handle(IGESData_IGESEntity)& anEntity)
{
theEntity = anEntity;
InitTypeAndForm(430,0);
}
Standard_Boolean IGESSolid_SolidInstance::IsBrep () const
{ return (FormNumber() == 1); }
void IGESSolid_SolidInstance::SetBrep (const Standard_Boolean brep)
{ InitTypeAndForm(430, (brep ? 1 : 0)); }
Handle(IGESData_IGESEntity) IGESSolid_SolidInstance::Entity () const
{
return theEntity;
}
|