blob: ac1d5c3cca570413861ac594a6e816540553a71c (
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
|
//--------------------------------------------------------------------
//
// File Name : IGESSolid_PlaneSurface.cxx
// Date :
// Author : CKY / Contract Toubro-Larsen
// Copyright : MATRA-DATAVISION 1993
//
//--------------------------------------------------------------------
#include <IGESSolid_PlaneSurface.ixx>
IGESSolid_PlaneSurface::IGESSolid_PlaneSurface () { }
void IGESSolid_PlaneSurface::Init
(const Handle(IGESGeom_Point)& aLocation,
const Handle(IGESGeom_Direction)& aNormal,
const Handle(IGESGeom_Direction)& Refdir)
{
theLocationPoint = aLocation;
theNormal = aNormal;
theRefDir = Refdir;
InitTypeAndForm(190, (theRefDir.IsNull() ? 0 : 1));
}
Handle(IGESGeom_Point) IGESSolid_PlaneSurface::LocationPoint () const
{
return theLocationPoint;
}
Handle(IGESGeom_Direction) IGESSolid_PlaneSurface::Normal () const
{
return theNormal;
}
Handle(IGESGeom_Direction) IGESSolid_PlaneSurface::ReferenceDir () const
{
return theRefDir;
}
Standard_Boolean IGESSolid_PlaneSurface::IsParametrised () const
{
return (!theRefDir.IsNull());
}
|