Share via


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);
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);
override this.DoFoldToShape : Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost * Microsoft.VisualStudio.Modeling.Diagrams.PointD * Microsoft.VisualStudio.Modeling.Diagrams.PointD -> Microsoft.VisualStudio.Modeling.Diagrams.PointD
Public Overrides Function DoFoldToShape (geometryHost As IGeometryHost, potentialPoint As PointD, vectorEndpoint As PointD) As PointD

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