RhinoCommon API
CustomDisplayAddVector Method (Point3d, Vector3d, Color, Boolean) |
Adds a new, colored vector to the display list.
Namespace: Rhino.Display
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.0

public void AddVector( Point3d anchor, Vector3d span, Color color, bool drawAnchor )
Public Sub AddVector ( anchor As Point3d, span As Vector3d, color As Color, drawAnchor As Boolean )
Parameters
- anchor
- Type: Rhino.GeometryPoint3d
Anchor point of vector. - span
- Type: Rhino.GeometryVector3d
Direction and magnitude of vector. - color
- Type: System.DrawingColor
Color of vector. - drawAnchor
- Type: SystemBoolean
Include a point at the vector anchor.
