Class WCone
This 3D Widget defines a cone.
public class WCone : UnmanagedObject, IDisposable, IWidget3D, IWidget
- Inheritance
-
WCone
- Implements
- Inherited Members
Constructors
WCone(double, MCvPoint3D64f, MCvPoint3D64f, int, MCvScalar)
Constructs repositioned planar cone.
public WCone(double radius, MCvPoint3D64f center, MCvPoint3D64f tip, int resolution, MCvScalar color)
Parameters
radius
doubleRadius of the cone.
center
MCvPoint3D64fCenter of the cone base.
tip
MCvPoint3D64fTip of the cone.
resolution
intResolution of the cone.
color
MCvScalarColor of the cone.
WCone(double, double, int, MCvScalar)
Constructs default cone oriented along x-axis with center of its base located at origin.
public WCone(double length, double radius, int resolution, MCvScalar color)
Parameters
length
doubleLength of the cone.
radius
doubleRadius of the cone.
resolution
intResolution of the cone.
color
MCvScalarColor of the cone.
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 WCone object
protected override void DisposeObject()