Logo Search packages:      
Sourcecode: necpp version File versions  Download package

void nec_context::wire ( int  tag_id,
int  segment_count,
nec_float  xw1,
nec_float  yw1,
nec_float  zw1,
nec_float  xw2,
nec_float  yw2,
nec_float  zw2,
nec_float  rad,
nec_float  rdel,
nec_float  rrad 
)

Add a wire to the geometry,

All co-ordinates are in meters.

Parameters:
tag_id The tag ID.
segment_count The number of segments.
xw1 The x coordinate of the wire starting point.
yw1 The y coordinate of the wire starting point.
zw1 The z coordinate of the wire starting point.
xw2 The x coordinate of the wire ending point.
yw2 The y coordinate of the wire ending point.
zw2 The z coordinate of the wire ending point.
rad The wire radius (meters)
rdel For tapered wires, the. Otherwise set to 1.0
rrad For tapered wires, the. Otherwise set to 1.0
Add a wire to the geometry,

All co-ordinates are in meters.

Parameters:
tag_id The tag ID.
segment_count The number of segments.
xw1 The x coordinate of the wire starting point.
yw1 The y coordinate of the wire starting point.
zw1 The z coordinate of the wire starting point.
xw2 The x coordinate of the wire ending point.
yw2 The y coordinate of the wire ending point.
zw2 The z coordinate of the wire ending point.
rad The wire radius (meters)
rdel For tapered wires, the. Otherwise set to 1.0
rrad For tapered wires, the. Otherwise set to 1.0

Definition at line 296 of file nec_context.cpp.

References c_geometry::wire().

{
      m_geometry->wire(tag_id, segment_count, xw1, yw1, zw1, xw2, yw2, zw2, rad, rdel, rrad);
}


Generated by  Doxygen 1.6.0   Back to index