ShapeElement.DoFoldToShape(PointD, PointD) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Calculates the point along the ShapeElement perimeter where the given vector will intersect
public:
virtual Microsoft::VisualStudio::Modeling::Diagrams::PointD DoFoldToShape(Microsoft::VisualStudio::Modeling::Diagrams::PointD potentialPoint, Microsoft::VisualStudio::Modeling::Diagrams::PointD vectorEndpoint);
public virtual Microsoft.VisualStudio.Modeling.Diagrams.PointD DoFoldToShape (Microsoft.VisualStudio.Modeling.Diagrams.PointD potentialPoint, Microsoft.VisualStudio.Modeling.Diagrams.PointD vectorEndpoint);
abstract member DoFoldToShape : Microsoft.VisualStudio.Modeling.Diagrams.PointD * Microsoft.VisualStudio.Modeling.Diagrams.PointD -> Microsoft.VisualStudio.Modeling.Diagrams.PointD
override this.DoFoldToShape : Microsoft.VisualStudio.Modeling.Diagrams.PointD * Microsoft.VisualStudio.Modeling.Diagrams.PointD -> Microsoft.VisualStudio.Modeling.Diagrams.PointD
Public Overridable Function DoFoldToShape (potentialPoint As PointD, vectorEndpoint As PointD) As PointD
Parameters
- potentialPoint
- PointD
Point (in world coordinates) along the bounding rectangle to be folded in to the perimeter of the ShapeElement
- vectorEndpoint
- PointD
Point (in world coordinates) defining the endpoint of the vector along which folding to the perimeter must take place
Returns
Point (in world coordinates) along the ShapeElement perimeter where the vector will intersect.