SurfaceDirectionIndicators

References
Surface direction indicators can be drawn by a display pipeline.

Constructors

SurfaceDirectionIndicators

#Since v9.0
public SurfaceDirectionIndicators(BrepFace face)
Construct for a Brep face.
face (BrepFace)

SurfaceDirectionIndicators

#Since v9.0
public SurfaceDirectionIndicators(NurbsSurface surface, Point2d origin)
Construct for a Nurbs surface.
surface (NurbsSurface)
origin (Point2d)Use Point2d.Unset to place the arrows at the default location.

SurfaceDirectionIndicators

#Since v9.0
public SurfaceDirectionIndicators(Surface surface)
Construct for a surface.
surface (Surface)

Finalizer

~SurfaceDirectionIndicators

#
~SurfaceDirectionIndicators()

Properties

IsValid

#Since v9.0
public bool IsValid { get; }
Returns true if this instance is valid. The geometry that was used to create may not have been garbage collected.

Methods

Dispose

#Since v9.0
public void Dispose()
Actively reclaims unmanaged resources that this instance uses.

Dispose

#
protected virtual void Dispose(bool disposing)
For derived class implementers.

This method is called with argument true when class user calls Dispose(), while with argument false when the Garbage Collector invokes the finalizer, or Finalize() method.

You must reclaim all used unmanaged resources in both cases, and can use this chance to call Dispose on disposable fields if the argument is true.

Also, you must call the base virtual method within your overriding method.

disposing (bool)true if the call comes from the Dispose() method; false if it comes from the Garbage Collector finalizer.

Draw

#Since v9.0
public bool Draw(DisplayPipeline dp)
Draw the surface directions.
dp (DisplayPipeline)