Click or drag to resize
AB4D logo

LineArcVisual3D Class

LineArcVisual3D class is used to create Visual3D that represents a 3D Arc (part of the circle).
Inheritance Hierarchy
SystemObject
  System.Windows.ThreadingDispatcherObject
    System.WindowsDependencyObject
      System.Windows.Media.Media3DVisual3D
        System.Windows.Media.Media3DModelVisual3D
          Ab3d.VisualsBaseVisual3D
            Ab3d.VisualsBaseLineVisual3D
              Ab3d.VisualsBaseMultiLineVisual3D
                Ab3d.VisualsBasePolyLineVisual3D
                  Ab3d.VisualsLineArcVisual3D

Namespace: Ab3d.Visuals
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.2.9104.2045
Syntax
C#
public class LineArcVisual3D : BasePolyLineVisual3D, 
	ILineCapVisual3D

The LineArcVisual3D type exposes the following members.

Constructors
 NameDescription
Public methodLineArcVisual3D Constructor
Public methodLineArcVisual3D(String) Constructor
Top
Properties
 NameDescription
Public propertyCircleCenterPosition Gets or sets the center position of the circle that defined the arc.
Public propertyCircleNormal Gets or sets the normal vector of the circle that defined the arc (the vector that is perpendicular to the circle).
Public propertyEndAngle Gets or sets the angle in degrees where the arc ends.
Public propertyEndLineCap Gets or sets one of the LineCap that is used for end position of the line
Public propertyHorizontalStretchFactor Gets or sets the double value that specifies a factor that is used to stretch (multiply) the radius in the ZeroAngleDirection. This allows creating line arc from ellipse instead of only from circle. Default value is 1.0 which creates an arc from a circle. For example value 2.0 will create line arc from ellipse with horizontal radius twice the value set in the Radius property.
Public propertyRadius Gets or sets the radius of the circle that defines the arc.
Public propertySegments Gets or sets the number of lines that are used to define the arc.
Public propertyStartAngle Gets or sets the angle in degrees where the arc begins.
Public propertyStartLineCap Gets or sets one of the LineCap that is used for start position of the line
Public propertyZeroAngleDirection Gets or sets the Vector3D that is pointing from center position to the position on the circle where the arc's angle is zero.
Top
Methods
 NameDescription
Protected methodCreateModel Creates this Model3D
(Overrides BaseVisual3DCreateModel)
Top
Fields
 NameDescription
Public fieldStatic memberCircleCenterPositionProperty CircleCenterPositionProperty
Public fieldStatic memberCircleNormalProperty CircleNormalProperty
Public fieldStatic memberEndAngleProperty EndAngleProperty
Public fieldStatic memberHorizontalStretchFactorProperty HorizontalStretchFactorProperty
Public fieldStatic memberRadiusProperty RadiusProperty
Public fieldStatic memberSegmentsProperty SegmentsProperty
Public fieldStatic memberStartAngleProperty StartAngleProperty
Public fieldStatic memberZeroAngleDirectionProperty ZeroAngleDirectionProperty
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