GH_PreviewBoundary

References
A closed boundary for filtering previewed objects.

Constructors

GH_PreviewBoundary

#
public GH_PreviewBoundary(PointF[] points)
Create a new preview boundary.
points (PointF[])Points on boundary.

Properties

Boundary

#
public Region Boundary { get; }
Gets the boundary region.

Limits

#
public RectangleF Limits { get; }
Gets the limits of the boundary.

Points

#
public PointF[] Points { get; }
Gets the array of points this boundary was made from.

Methods

IsVisible

#
public bool IsVisible(IGH_DocumentObject obj)
Gets whether a specific object is visible within this boundary.
obj (IGH_DocumentObject)

Read

#
public bool Read(GH_IReader reader)
reader (GH_IReader)
Read

Write

#
public bool Write(GH_IWriter writer)
writer (GH_IWriter)
Write