FLineTranslateVector Method

Translate the target line as a vector from its left or right sides, along the line's direction of travel.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2414.4032
C#
public static void TranslateVector(
	FLine target,
	float offset,
	ArcDirectionEnum direction = ArcDirectionEnum.Forward
)

Parameters

target  FLine
Reference to the target line to be translated.
offset  Single
The offset amount by which to translate the line parallel to its current axis.
direction  ArcDirectionEnum  (Optional)
Optional value indicating whether the offset will be applied to the left side tangent of the line if Forward, or to the right side tangent of the line if Reverse, relative to its direction of travel from PointA to PointB. Default is Forward.

See Also