OdbDesignLib
OdbDesign ODB++ Parsing Library
Odb::Lib::FileModel::Design::ContourPolygon::PolygonPart Struct Reference
Inheritance diagram for Odb::Lib::FileModel::Design::ContourPolygon::PolygonPart:
Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ContourPolygon::PolygonPart >

Public Types

enum class  Type { Segment , Arc }
 
typedef std::vector< std::shared_ptr< PolygonPart > > Vector
 

Public Member Functions

std::unique_ptr< Odb::Lib::Protobuf::ContourPolygon::PolygonPart > to_protobuf () const override
 
void from_protobuf (const Odb::Lib::Protobuf::ContourPolygon::PolygonPart &message) override
 
- Public Member Functions inherited from Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ContourPolygon::PolygonPart >
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 Attributes

Type type
 
float endX
 
float endY
 
float xCenter
 
float yCenter
 
bool isClockwise
 

Static Public Attributes

static const char * SEGMENT_RECORD_TOKEN = "OS"
 
static const char * ARC_RECORD_TOKEN = "OC"
 

Detailed Description

Definition at line 21 of file ContourPolygon.h.


The documentation for this struct was generated from the following files: