FAreaGetLines Method

Return four lines representing the bounding edge of the provided area.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2414.4032
C#
public static List<FLine> GetLines(
	FArea area,
	float rotation = 0f
)

Parameters

area  FArea
Reference to the area for which the lines will be returned.
rotation  Single  (Optional)
Optional angle of local shape rotatation, in radians.

Return Value

ListFLine
Reference to a list of four lines, if the area was legitimate and non-empty. Otherwise, an empty array.

Remarks

In drawing space, the lines from this method are arranged in a counter-clockwise progression from top-right, including the top, left, bottom, then right sides.

All of the lines are constructed from common adjoining points, which allows you to move any point in the shape without breaking its connection to either of its lines.

See Also