CircleShapeGeometry::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:
virtual PointD DoFoldToShape(
	IGeometryHost^ geometryHost,
	PointD potentialPoint,
	PointD vectorEndpoint
) override

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.

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

Return to top
Show: