Click or drag to resize
AB4D logo

MultiPolyLineVisual3D Class

MultiPolyLineVisual3D class is used to create Visual3D that show multiple polylines. This can improve performance compared to creating multiple PolyLineVisual3D objects.
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.VisualsMultiPolyLineVisual3D

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

The MultiPolyLineVisual3D type exposes the following members.

Constructors
 NameDescription
Public methodMultiPolyLineVisual3D Constructor
Public methodMultiPolyLineVisual3D(String) Constructor
Top
Properties
 NameDescription
Public propertyEndLineCap Gets or sets one of the LineCap that is used for end position of the line
Public propertyIsClosed Gets or sets a value that specifies if the MultiPolyLineVisual3D closes all polylines
Public propertyPositionsList Gets or sets a list of Point3DCollection that define the polylines. After this list is changed, the Update method need to be called.
Public propertyStartLineCap Gets or sets one of the LineCap that is used for start position of the line
Top
Methods
 NameDescription
Protected methodCreateModel Creates this Model3D
(Overrides BaseVisual3DCreateModel)
Public methodUpdate Update method can be called after the PositionsList has been changed.
Top
Fields
 NameDescription
Public fieldStatic memberIsClosedProperty IsClosedProperty
Public fieldStatic memberPositionsListProperty PositionsListProperty
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