RectangleShapeGeometry::DoFoldToShape Method (IGeometryHost^, PointD, PointD)
Visual Studio 2015
Calculates the point along the vector which crosses the outline of the geometry.
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.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams::PointD
Show: