RectangleShapeGeometry.DoFoldToShape(IGeometryHost, PointD, PointD) Method

Definition

Calculates the point along the vector which crosses the outline of the geometry.

public:
 override Microsoft::VisualStudio::Modeling::Diagrams::PointD DoFoldToShape(Microsoft::VisualStudio::Modeling::Diagrams::IGeometryHost ^ geometryHost, Microsoft::VisualStudio::Modeling::Diagrams::PointD potentialPoint, Microsoft::VisualStudio::Modeling::Diagrams::PointD vectorEndpoint);

Parameters

geometryHost
IGeometryHost

The instance data for the geometry.

potentialPoint
PointD

The point along the bounding rectangle to be folded in to the perimeter of the geometry.

vectorEndpoint
PointD

Returns

The point along the vector which crosses the outline of the geometry.

Applies to

Product Versions
Visual Studio SDK 2017, 2019, 2022