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:
@@ -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;
|
||||
|
||||
|
@@ -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;
|
||||
}
|
||||
|
@@ -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>
|
||||
|
@@ -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
|
||||
|
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user