Bridges-Python  3.4.3
Bridges(Python API)
Public Member Functions | List of all members
bridges.symbol_collection.SymbolCollection Class Reference

Public Member Functions

def __init__ (self)
 Constructor for collection of symbols. More...
 
def setviewport (self, xmin, xmax, ymin, ymax)
 Set the display size. More...
 
def get_data_structure_type (self)
 
def add_symbol (self, s)
 Add a symbol to the collection. More...
 
def update_axis_domains (self, s)
 Update the bounding box of the symbol collection. More...
 
def get_data_structure_representation (self)
 Getter for the data structure's JSON representatoin. More...
 

Constructor & Destructor Documentation

◆ __init__()

def bridges.symbol_collection.SymbolCollection.__init__ (   self)

Constructor for collection of symbols.

Member Function Documentation

◆ add_symbol()

def bridges.symbol_collection.SymbolCollection.add_symbol (   self,
  s 
)

Add a symbol to the collection.

Parameters
ssymbol to be added
Returns
none

◆ get_data_structure_representation()

def bridges.symbol_collection.SymbolCollection.get_data_structure_representation (   self)

Getter for the data structure's JSON representatoin.

Returns
str the data structure representation

◆ get_data_structure_type()

def bridges.symbol_collection.SymbolCollection.get_data_structure_type (   self)

◆ setviewport()

def bridges.symbol_collection.SymbolCollection.setviewport (   self,
  xmin,
  xmax,
  ymin,
  ymax 
)

Set the display size.

Parameters
xminmin x coordinate
xmaxmax x coordinate
yminmin y coordinate
ymaxmax y coordinate

◆ update_axis_domains()

def bridges.symbol_collection.SymbolCollection.update_axis_domains (   self,
  s 
)

Update the bounding box of the symbol collection.

Parameters
sinput symbol to update dimensions
Returns
none

The documentation for this class was generated from the following file: