Alt | float Alt() |
Angle2Center | float Angle2Center(Cylinder next) difference in orientation between line passing both centers and axis of this |
Angle2Point | float Angle2Point(Vect p) difference in orientation between line passing both P and this center and axis of this |
Angle2Vect | float Angle2Vect(Vect v) difference in orientation axis of this and the direction vector |
AxisAngleDiff | float AxisAngleDiff(Cylinder next) difference in orientation (axises) |
Axis | Vect Axis() |
Az | float Az() |
CenterDistance | float CenterDistance(Cylinder next) distance of the center of next cylinder to the center of this |
Center | Vect Center() |
Cylinder | Cylinder() construct an empty Cylinder instance Cylinder(Vect center, Vect axisdir, len = 5.4, r = 2.5, w = 0.9) |
Distance2Point | float Distance2Point(x, y, z) distance of the Point to the center of this cylinder |
EndID | int EndID() |
if_merge | bool if_merge(Cylinder next, da_limit = 30*PI/180., distance_limit = 3.2) if next is ok to merge with this |
Label | string Label() |
Length | float Length() |
merge | bool merge(Cylinder next) actually merge both into this |
mirror | mirror() mirror the cylinders |
NormDistance | float NormDistance(Cylinder next) shortest distance of the two axes |
PlaneAngleDiff | float PlaneAngleDiff(Cylinder next) dihedral angle of planes formed by the two axes and center connection vector |
Print(int id = -1, FILE out = stdout) | |
QuaterForAxis | Quater QuaterForAxis() |
Radius | float Radius() |
setAxis | setAxis(Vect axisdir) setAxis(Euler axisdir) |
setCenter | setCenter(float x, float y, float z) |
setEndID | setEndID(int i) |
setLabel | setLabel(string l) |
setLength | setLength(float l) |
setRadius | setRadius(float r) |
setStartID | setStartID(int i) |
setWeight | setWeight(float w) |
StartID | int StartID() |
toCosec | toCosec(FILE out = stdout, id = 0) |
toDejaVu | toDejaVu(FILE out = stdout, id = 0) |
toInventor | toInventor(FILE out = stdout, id = 0, indent = 1, with_head = false) |
Transform | Transform(Quater rot, Vect trans, Vect center) transform: rotate then translate Transform(Euler rot, Vect trans, Vect center) transform: rotate then translate |
Weight | float Weight() |
Xc | float Xc() |
Yc | float Yc() |
Zc | float Zc() |