Compartir a través de


ShapeGeometry.DoFoldToShape(IGeometryHost, PointD, PointD) Method

Definition

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

public:
 abstract 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 abstract Microsoft.VisualStudio.Modeling.Diagrams.PointD DoFoldToShape (Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost geometryHost, Microsoft.VisualStudio.Modeling.Diagrams.PointD potentialPoint, Microsoft.VisualStudio.Modeling.Diagrams.PointD vectorEndpoint);
abstract member DoFoldToShape : Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost * Microsoft.VisualStudio.Modeling.Diagrams.PointD * Microsoft.VisualStudio.Modeling.Diagrams.PointD -> Microsoft.VisualStudio.Modeling.Diagrams.PointD
Public MustOverride 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