Beispiel #1
0
 /// <summary>Constructor. </summary>
 /// <param name="seg">Line segment to create capsule from. </param>
 /// <param name="_radius">Radius of the capsule. </param>
 public NxCapsule(NxSegment seg, float _radius) :
     base(new_NxCapsule_1_INVOKE(false, (seg != null ? seg.ClassPointer : NullRef), _radius))
 {
     GC.ReRegisterForFinalize(this);
 }
Beispiel #2
0
 /// <summary>Copy constructor. </summary>
 public NxSegment(NxSegment seg) :
     base(new_NxSegment_2_INVOKE(false, (seg != null ? seg.ClassPointer : NullRef)))
 {
     GC.ReRegisterForFinalize(this);
 }