You are here: Start » FIL.NET » Function Reference » Path » Path Features » FIL.PathBoundingParallelogram

FIL.PathBoundingParallelogram

Computes the smallest parallelogram containing a path.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void PathBoundingParallelogram
(
	FilNet.Path inPath,
	FilNet.BoundingRectangleFeature inBoundingParallelogramFeature,
	FilNet.Path outBoundingParallelogram,
	out FilNet.Point2D outCenter,
	out float outLongSide,
	out float outShortSide,
	out float outAngle
)

Parameters

Name Type Range Default Description
inPathFilNet.PathInput path.
inBoundingParallelogramFeatureFilNet.BoundingRectangleFeatureMinimalAreaDetermines what kind of bounding parallelogram will be computed. Default value: MinimalArea.
outBoundingParallelogramFilNet.PathSmallest bounding parallelogram of the input points.
outCenterFilNet.Point2DCenter of the bounding parallelogram.
outLongSidefloatLength of the bounding parallelogram long side.
outShortSidefloatLength of the bounding parallelogram short side.
outAnglefloatAngle of the bounding parallelogram.

Errors

List of possible exceptions:

Error type Description
DomainError Empty path on input in PathBoundingParallelogram.

Function Overrides

See also