Package CIM15 :: Package IEC61970 :: Package Graphics :: Module DiagramObjectPoint' :: Class DiagramObjectPoint
[hide private]
[frames] | no frames]

Class DiagramObjectPoint

      object --+    
               |    
Element'.Element --+
                   |
                  DiagramObjectPoint

A point in a given space defined by 3 coordinates and associated to a DiagramObject. The coordinates may be positive or negative as the origin does not have to be in the corner of a diagram. The sequence attribute is used when a DiagramObject has more than one DiagramObjectPoint in which case this defines the drawing order. A DiagramObject may represent any CIM object. For single line diagrams such objects typically are • analog values • breaker/disconnector • power transformer • transmission lineA point in a given space defined by 3 coordinates and associated to a DiagramObject. The coordinates may be positive or negative as the origin does not have to be in the corner of a diagram. The sequence attribute is used when a DiagramObject has more than one DiagramObjectPoint in which case this defines the drawing order. A DiagramObject may represent any CIM object. For single line diagrams such objects typically are • analog values • breaker/disconnector • power transformer • transmission line

Instance Methods [hide private]
 
__init__(self, sequenceNumber=0, xPosition=0.0, yPosition=0.0, zPosition=0.0, DiagramObjectGluePoint=None, DiagramObject=None, *args, **kw_args)
Initialises a new 'DiagramObjectPoint' instance.
 
getDiagramObject(self)
The diagram object with which the points are associated
 
getDiagramObjectGluePoint(self)
The 'glue' point that this point is associated with
 
setDiagramObject(self, value)
 
setDiagramObjectGluePoint(self, value)

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  _attr_types = {'sequenceNumber': <type 'int'>, 'xPosition': <t...
  _attrs = ['sequenceNumber', 'xPosition', 'yPosition', 'zPositi...
  _defaults = {'sequenceNumber': 0, 'xPosition': 0.0, 'yPosition...
  _refs = ['DiagramObjectGluePoint', 'DiagramObject']

Inherited from Element'.Element (private): _enums, _many_refs

Properties [hide private]
  DiagramObject
The diagram object with which the points are associated
  DiagramObjectGluePoint
The 'glue' point that this point is associated with

Inherited from object: __class__

Method Details [hide private]

__init__(self, sequenceNumber=0, xPosition=0.0, yPosition=0.0, zPosition=0.0, DiagramObjectGluePoint=None, DiagramObject=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'DiagramObjectPoint' instance.

Parameters:
  • sequenceNumber - The sequence position of the point, used for defining the order of points for DiagramObjects acting as a polyline or polygon with more than one point
  • xPosition - The X coordinate of this point
  • yPosition - The Y coordinate of this point
  • zPosition - The Z coordinate of this point
  • DiagramObjectGluePoint - The 'glue' point that this point is associated with
  • DiagramObject - The diagram object with which the points are associated
Overrides: object.__init__

Class Variable Details [hide private]

_attr_types

Value:
{'sequenceNumber': <type 'int'>,
 'xPosition': <type 'float'>,
 'yPosition': <type 'float'>,
 'zPosition': <type 'float'>}

_attrs

Value:
['sequenceNumber', 'xPosition', 'yPosition', 'zPosition']

_defaults

Value:
{'sequenceNumber': 0,
 'xPosition': 0.0,
 'yPosition': 0.0,
 'zPosition': 0.0}

Property Details [hide private]

DiagramObject

The diagram object with which the points are associated

Get Method:
getDiagramObject(self) - The diagram object with which the points are associated
Set Method:
setDiagramObject(self, value)

DiagramObjectGluePoint

The 'glue' point that this point is associated with

Get Method:
getDiagramObjectGluePoint(self) - The 'glue' point that this point is associated with
Set Method:
setDiagramObjectGluePoint(self, value)