Public Member Functions | Static Public Attributes | Static Private Attributes | List of all members
wirecell.util.wires.db.Point Class Reference
Inheritance diagram for wirecell.util.wires.db.Point:
Base

Public Member Functions

def __repr__ (self)
 
- Public Member Functions inherited from Base
virtual std::string who () const
 
virtual ~Base () noexcept=default
 

Static Public Attributes

 id = Column(Integer, primary_key=True)
 
 x = Column(Float)
 
 y = Column(Float)
 
 z = Column(Float)
 
 tails
 
 heads
 
 rays
 

Static Private Attributes

string __tablename__ = "points"
 

Detailed Description

A point in some unspecified 3-space coordinate system.

Definition at line 487 of file db.py.

Member Function Documentation

def wirecell.util.wires.db.Point.__repr__ (   self)

Definition at line 508 of file db.py.

508  def __repr__(self):
509  return "<Point %d x:%f y:%f z:%f>" % (self.id, self.x, self.y, self.z)
510 
511 
512 
513 # Association pattern
514 # http://docs.sqlalchemy.org/en/latest/orm/basic_relationships.html#association-object
515 

Member Data Documentation

string wirecell.util.wires.db.Point.__tablename__ = "points"
staticprivate

Definition at line 491 of file db.py.

wirecell.util.wires.db.Point.heads
static
Initial value:
1 = relationship("Ray",
2  primaryjoin='Point.id == Ray.head_id')

Definition at line 502 of file db.py.

wirecell.util.wires.db.Point.id = Column(Integer, primary_key=True)
static

Definition at line 493 of file db.py.

wirecell.util.wires.db.Point.rays
static
Initial value:
1 = relationship("Ray",
2  primaryjoin='or_(Point.id == Ray.head_id, Point.id == Ray.tail_id)')

Definition at line 505 of file db.py.

wirecell.util.wires.db.Point.tails
static
Initial value:
1 = relationship("Ray",
2  primaryjoin='Point.id == Ray.tail_id')

Definition at line 499 of file db.py.

wirecell.util.wires.db.Point.x = Column(Float)
static

Definition at line 494 of file db.py.

wirecell.util.wires.db.Point.y = Column(Float)
static

Definition at line 495 of file db.py.

wirecell.util.wires.db.Point.z = Column(Float)
static

Definition at line 496 of file db.py.


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