You are here: Start » FIL.NET » Invoke.PathBoundingRectangle

Invoke.PathBoundingRectangle

Computes the smallest rectangle containing a path.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void PathBoundingRectangle
(
	Fil.Path inPath,
	Fil.BoundingRectangleFeature inBoundingRectangleFeature,
	float inReferenceAngle,
	Fil.RectangleOrientation inRectangleOrientation,
	out Fil.Rectangle2D outBoundingRectangle,
	Optional<Fil.Point2D> outCenter,
	Optional<float> outLongSide,
	Optional<float> outShortSide
)

Parameters

Name Type Range Default Description
inPathFil.PathInput path.
inBoundingRectangleFeatureFil.BoundingRectangleFeatureMinimalAreaDetermines what kind of bounding rectangle will be computed. Default value: MinimalArea.
inReferenceAnglefloat0.0fThe middle angle of the valid range of the output rectangle's angle. Default value: 0.0f.
inRectangleOrientationFil.RectangleOrientationHorizontalOrientation of the output rectangle. Default value: Horizontal.
outBoundingRectangleFil.Rectangle2DThe smallest bounding rectangle of the input path.
outCenterFtl.Optional<Fil.Point2D>Center of the bounding rectangle.
outLongSideFtl.Optional<float>Length of the bounding rectangle long side.
outShortSideFtl.Optional<float>Length of the bounding rectangle short side.

See also