-// Copyright (C) 2013-2015 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2013-2022 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
public CurveCreator_ISection
{
//! Constructor. Initializes object with default values.
- CurveCreator_Section() : myName("Section"),myType(CurveCreator::Polyline), myIsClosed(false)
+ CurveCreator_Section() : myName("Section"),myType(CurveCreator::Polyline),
+ myIsClosed(false), myColor (Quantity_NOC_RED)
{ }
- std::string myName; //!< section name
+ std::string myName; //!< section name
CurveCreator::Coordinates myPoints; //!< points coordinates
CurveCreator::SectionType myType; //!< type of the section
bool myIsClosed; //!< closed or not
+ Quantity_Color myColor; //!< color of section
//! A virtual method.
- void GetDifferentPoints(const int theDimension, Handle(TColgp_HArray1OfPnt)& thePoints) const;
+ Handle(TColgp_HArray1OfPnt) GetDifferentPoints( int theDimension ) const;
};
#endif