Click or drag to resize
AB4D logo

ConeTubeVisual3D Class

ConeTubeVisual3D class is used to create Visual3D that represents a 3D Tube with different top and bottom radius.
Inheritance Hierarchy

Namespace: Ab3d.Visuals
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public class ConeTubeVisual3D : BaseModelVisual3D

The ConeTubeVisual3D type exposes the following members.

Constructors
 NameDescription
Public methodConeTubeVisual3D Constructor
Public methodConeTubeVisual3D(String) Constructor
Top
Properties
 NameDescription
Public propertyBottomCenterPosition Gets or sets the position of the bottom center of the Cone
Public propertyBottomInnerRadius Gets or sets the radius of the bottom circle of the Cone.
Public propertyBottomOuterRadius Gets or sets the radius of the bottom circle of the Cone.
Public propertyEndAngle Gets or sets the start angle in degrees. By default the StartAngle and EndAngle are set to 0 and 360 and this creates the whole tube. But when the angle values are changed, it is possible to create only section of the tube - like a arc.
Public propertyHeight Gets or sets the height of Cone.
Public propertyHeightDirection Gets or sets a Vector3D that specifies the height direction. Default value is up vector (0, 1, 0).
Public propertySegments Gets or sets the number of segments that are used to create the circular area of the Cone. Default value is 20.
Public propertyStartAngle Gets or sets the start angle in degrees. By default the StartAngle and EndAngle are set to 0 and 360 and this creates the whole tube. But when the angle values are changed, it is possible to create only section of the tube - like a arc.
Public propertyTopInnerRadius Gets or sets the radius of the top circle of the Cone.
Public propertyTopOuterRadius Gets or sets the radius of the top circle of the Cone.
Top
Methods
 NameDescription
Protected methodRefreshGeometry Recreates the Visual3D geometry
(Overrides BaseModelVisual3DRefreshGeometry)
Top
Fields
 NameDescription
Public fieldStatic memberBottomCenterPositionProperty BottomCenterPositionProperty
Public fieldStatic memberBottomInnerRadiusProperty BottomRadiusProperty
Public fieldStatic memberBottomOuterRadiusProperty BottomRadiusProperty
Public fieldStatic memberEndAngleProperty EndAngleProperty
Public fieldStatic memberHeightDirectionProperty HeightDirectionProperty
Public fieldStatic memberHeightProperty HeightProperty
Public fieldStatic memberSegmentsProperty SegmentsProperty
Public fieldStatic memberStartAngleProperty StartAngleProperty
Public fieldStatic memberTopInnerRadiusProperty TopInnerRadiusProperty
Public fieldStatic memberTopOuterRadiusProperty TopOuterRadiusProperty
Top
Extension Methods
 NameDescription
Public Extension MethodDumpHierarchy Display details about the hierarchy of Visual3D children to Debug console (for example to Visual Studio's Immediate window).
(Defined by Extensions)
Public Extension MethodForEachGeometryModel3D Performs the specified action on each GeometryModel3D inside the rootModelVisual3D.
(Defined by Extensions)
Public Extension MethodForEachVisual3D Performs the specified action on each ModelVisual3D inside the rootModelVisual3D.
(Defined by Extensions)
Public Extension MethodGetName Gets name of the Visual3D that was previously set by SetName extension method.
(Defined by Extensions)
Public Extension MethodSetName Sets Name property to Visual3D. Note that if name is not correct for WPF, it can be corrected (name must start with a letter or the underscore character (_), and must contain only letters, digits, or underscores). In this case the SetName method will set the corrected name to the object and return false (in this case you can call GetName to get the corrected name). True is returned when the original name is set to the object.
(Defined by Extensions)
Top
See Also