EllipseShapeGeometry.DoFoldToShape Method (IGeometryHost, PointD, PointD)

 

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

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public override PointD DoFoldToShape(
	IGeometryHost geometryHost,
	PointD potentialPoint,
	PointD vectorEndpoint
)

Parameters

geometryHost
Type: Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost

The instance data for the geometry.

potentialPoint
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD

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

vectorEndpoint
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
vectorEndPoint

The endpoint of the vector along which folding to the perimeter must take place.

Return to top
Show: