mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
44
src/StepShape/StepShape_Edge.cxx
Executable file
44
src/StepShape/StepShape_Edge.cxx
Executable file
@@ -0,0 +1,44 @@
|
||||
#include <StepShape_Edge.ixx>
|
||||
|
||||
|
||||
StepShape_Edge::StepShape_Edge () {}
|
||||
|
||||
void StepShape_Edge::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
void StepShape_Edge::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepShape_Vertex)& aEdgeStart,
|
||||
const Handle(StepShape_Vertex)& aEdgeEnd)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
edgeStart = aEdgeStart;
|
||||
edgeEnd = aEdgeEnd;
|
||||
// --- classe inherited fields ---
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
|
||||
void StepShape_Edge::SetEdgeStart(const Handle(StepShape_Vertex)& aEdgeStart)
|
||||
{
|
||||
edgeStart = aEdgeStart;
|
||||
}
|
||||
|
||||
Handle(StepShape_Vertex) StepShape_Edge::EdgeStart() const
|
||||
{
|
||||
return edgeStart;
|
||||
}
|
||||
|
||||
void StepShape_Edge::SetEdgeEnd(const Handle(StepShape_Vertex)& aEdgeEnd)
|
||||
{
|
||||
edgeEnd = aEdgeEnd;
|
||||
}
|
||||
|
||||
Handle(StepShape_Vertex) StepShape_Edge::EdgeEnd() const
|
||||
{
|
||||
return edgeEnd;
|
||||
}
|
Reference in New Issue
Block a user