Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

385eeccd e917 c2d4 fdb2 4c3b4003d726

haplokuon edited this page May 6, 2023 · 1 revision

HatchBoundaryPath Class

netDxf 3.0.0 Library

Represent a loop of a hatch boundaries.

Definition

Namespace: netDxf.Entities
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public class HatchBoundaryPath : ICloneable

VB

Public Class HatchBoundaryPath
	Implements ICloneable

C++

public ref class HatchBoundaryPath : ICloneable

F#

type HatchBoundaryPath = 
    class
        interface ICloneable
    end
Inheritance Object → HatchBoundaryPath
Implements ICloneable

Remarks

The entities that make a loop can be any combination of lines, light weight polylines, polylines, circles, arcs, ellipses, and splines.
The entities that define a loop should define a closed path, they have to be on the same plane as the hatch, and with the same normal; if these conditions are not met the result might be unpredictable.
Entities expressed in 3d coordinates like lines, polylines, and splines will be projected into its local plane. All edges that make a HatchBoundaryPath are 2d objects, only have X and Y coordinates. This is why to avoid unexpected results, it is important that all entities that define the paths have the same normal, same reference plane.

Constructors

HatchBoundaryPath(IEnumerable(EntityObject)) Initializes a new instance of the HatchBoundaryPath class.
HatchBoundaryPath(IEnumerable(HatchBoundaryPath.Edge)) Initializes a new instance of the HatchBoundaryPath class.

Properties

Edges Gets the list of edges that makes a loop for the hatch boundary path.
Entities Gets the list of entities that makes the boundary.
PathType Gets the boundary path type flag.

Methods

Clone Creates a new HatchBoundaryPath that is a copy of the current instance.
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
ToString Returns a string that represents the current object.
(Inherited from Object)
Update Updates the internal HatchBoundaryPath data.

See Also

Reference

netDxf.Entities Namespace

Clone this wiki locally