Class WCylinder
This 3D Widget defines a cylinder.
public class WCylinder : UnmanagedObject, IDisposable, IWidget3D, IWidget
- Inheritance
-
WCylinder
- Implements
- Inherited Members
Constructors
WCylinder(ref MCvPoint3D64f, MCvPoint3D64f, double, int, MCvScalar)
Constructs a WCylinder.
public WCylinder(ref MCvPoint3D64f axisPoint1, MCvPoint3D64f axisPoint2, double radius, int numsides, MCvScalar color)
Parameters
axisPoint1
MCvPoint3D64fA point1 on the axis of the cylinder.
axisPoint2
MCvPoint3D64fA point2 on the axis of the cylinder.
radius
doubleRadius of the cylinder.
numsides
intResolution of the cylinder.
color
MCvScalarColor of the cylinder.
Properties
GetWidget
Get the pointer to the Widget obj
public nint GetWidget { get; }
Property Value
GetWidget3D
Get the pointer to the Widget3D obj
public nint GetWidget3D { get; }
Property Value
Methods
DisposeObject()
Release the unmanaged memory associated with this WCylinder object
protected override void DisposeObject()