#include <ContourPolygon.h>
Classes | |
| struct | PolygonPart |
Public Types | |
| enum class | Type { Island , Hole } |
| typedef std::vector< std::shared_ptr< ContourPolygon > > | Vector |
Public Member Functions | |
| ~ContourPolygon () | |
| std::unique_ptr< Odb::Lib::Protobuf::ContourPolygon > | to_protobuf () const override |
| void | from_protobuf (const Odb::Lib::Protobuf::ContourPolygon &message) override |
Public Member Functions inherited from Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ContourPolygon > | |
| bool | to_pbstring (std::string &pb_string) const |
| bool | from_pbstring (const std::string &pb_string) |
| bool | to_stream (std::ostream &outputStream) const |
| bool | from_stream (std::istream &inputStream) |
| std::string | to_json () const override |
| void | from_json (const std::string &json) override |
Public Member Functions inherited from Utils::IJsonable | |
| virtual | ~IJsonable () |
Public Attributes | |
| Type | type = Type::Island |
| double | xStart = 0.0 |
| double | yStart = 0.0 |
| PolygonPart::Vector | m_polygonParts |
Static Public Attributes | |
| static const char * | BEGIN_RECORD_TOKEN = "OB" |
| static const char * | END_RECORD_TOKEN = "OE" |
| static const char * | ISLAND_TYPE_TOKEN = "I" |
| static const char * | HOLE_TYPE_TOKEN = "H" |
Additional Inherited Members | |
Protected Member Functions inherited from Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ContourPolygon > | |
| IProtoBuffable ()=default | |
Protected Member Functions inherited from Utils::IJsonable | |
| IJsonable ()=default | |
Definition at line 12 of file ContourPolygon.h.
| typedef std::vector<std::shared_ptr<ContourPolygon> > Odb::Lib::FileModel::Design::ContourPolygon::Vector |
Definition at line 62 of file ContourPolygon.h.
|
strong |
| Enumerator | |
|---|---|
| Island | |
| Hole | |
Definition at line 47 of file ContourPolygon.h.
|
inline |
Definition at line 14 of file ContourPolygon.h.
|
overridevirtual |
Implements Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ContourPolygon >.
Definition at line 18 of file ContourPolygon.cpp.
|
overridevirtual |
Implements Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ContourPolygon >.
Definition at line 5 of file ContourPolygon.cpp.
|
inlinestatic |
Definition at line 64 of file ContourPolygon.h.
|
inlinestatic |
Definition at line 65 of file ContourPolygon.h.
|
inlinestatic |
Definition at line 67 of file ContourPolygon.h.
|
inlinestatic |
Definition at line 66 of file ContourPolygon.h.
| PolygonPart::Vector Odb::Lib::FileModel::Design::ContourPolygon::m_polygonParts |
Definition at line 56 of file ContourPolygon.h.
| Type Odb::Lib::FileModel::Design::ContourPolygon::type = Type::Island |
Definition at line 53 of file ContourPolygon.h.
| double Odb::Lib::FileModel::Design::ContourPolygon::xStart = 0.0 |
Definition at line 54 of file ContourPolygon.h.
| double Odb::Lib::FileModel::Design::ContourPolygon::yStart = 0.0 |
Definition at line 54 of file ContourPolygon.h.