Click or drag to resize
AB4D logo

SphericalZoneVisual3D Class

SphericalZoneVisual3D class is used to create Visual3D that represents a spherical surface included between two parallel planes (the planes are defined by ZoneStartAngle and ZoneEndAngle).
Inheritance Hierarchy
SystemObject
  System.Windows.ThreadingDispatcherObject
    System.WindowsDependencyObject
      System.Windows.Media.Media3DVisual3D
        System.Windows.Media.Media3DModelVisual3D
          Ab3d.VisualsBaseVisual3D
            Ab3d.VisualsBaseModelVisual3D
              Ab3d.VisualsSphericalZoneVisual3D

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

The SphericalZoneVisual3D type exposes the following members.

Constructors
 NameDescription
Public methodSphericalZoneVisual3D Constructor
Public methodSphericalZoneVisual3D(String) Constructor
Top
Properties
 NameDescription
Public propertyCenterPosition Gets or sets the center position of the sphere
Public propertyCircularRadius Gets or sets the circular radius of the sphere that defines the radius that is perpendicular to the Direction.
Public propertyCircularSegments Gets or sets the number of segments around the sphere. Default value is 30.
Public propertyDirection Gets or sets the direction of the zone. Default value is up vector (0, 1, 0).
Public propertyDirectionalRadius Gets or sets the directional radius of the sphere that defines the radius that is parallel to the Direction.
Public propertyDirectionalSegments Gets or sets the number of segments in the direction defined by the Direction property. Default value is 15.
Public propertyZoneEndAngle Gets or sets the end angle of the zone in the range from 0 to 180 (0 represent start of the sphere - pole; 90 represents the equator of the sphere; 180 represents the end of the sphere). Default value is 180.
Public propertyZoneStartAngle Gets or sets the start angle of the zone in the range from 0 to 180 (0 represent start of the sphere - pole; 90 represents the equator of the sphere; 180 represents the end of the sphere). Default value is 90.
Top
Methods
 NameDescription
Protected methodRefreshGeometry Recreates the Visual3D geometry
(Overrides BaseModelVisual3DRefreshGeometry)
Top
Fields
 NameDescription
Public fieldStatic memberCenterPositionProperty CenterPositionProperty
Public fieldStatic memberCircularRadiusProperty CircularRadiusProperty
Public fieldStatic memberCircularSegmentsProperty CircularSegmentsProperty
Public fieldStatic memberDirectionalRadiusProperty DirectionalRadiusProperty
Public fieldStatic memberDirectionalSegmentsProperty DirectionalSegmentsProperty
Public fieldStatic memberDirectionProperty DirectionProperty
Public fieldStatic memberZoneEndAngleProperty ZoneEndAngleProperty
Public fieldStatic memberZoneStartAngleProperty ZoneStartAngleProperty
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