1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0023690: Miscellaneous minor enhancements in OCAF/XDE

This commit is contained in:
Roman Lygin
2013-01-18 13:47:00 +04:00
parent ea9632bc14
commit d97f89db4f
8 changed files with 16 additions and 22 deletions

View File

@@ -64,6 +64,7 @@ is
Set (me : mutable; R,G,B : Real from Standard);
GetColor (me) returns Color from Quantity;
---C++: return const &
GetNOC (me) returns NameOfColor from Quantity;

View File

@@ -135,7 +135,7 @@ void XCAFDoc_Color::Set(const Quantity_Color& C)
//purpose :
//=======================================================================
Quantity_Color XCAFDoc_Color::GetColor() const
const Quantity_Color& XCAFDoc_Color::GetColor() const
{
return myColor;
}

View File

@@ -123,7 +123,7 @@ is
---Purpose: Returns True if label <L> has a color assignment
-- of the type <type>
GetColor (me: mutable; L: Label from TDF;
GetColor (myclass; L: Label from TDF;
type : ColorType from XCAFDoc;
colorL: out Label from TDF) returns Boolean;
---Purpose: Returns label with color assigned to <L> as <type>

View File

@@ -50,6 +50,7 @@ is
Get (me)
returns Location from TopLoc;
---C++: return const &
--IsCaptured(me) returns Boolean;
---Purpose: Returns True if there is a reference on the same label

View File

@@ -73,7 +73,7 @@ const Standard_GUID& XCAFDoc_Location::GetID()
//purpose :
//=======================================================================
TopLoc_Location XCAFDoc_Location::Get() const
const TopLoc_Location& XCAFDoc_Location::Get() const
{
return myLocation;
}