Nevron Open Vision Documentation
Nevron.Nov.Diagram Namespace / NPort Class / GlueToGeometryContour Method / GlueToGeometryContour(Double,Double,Boolean,NAngle) Method
relative location along the geometry contour (0 is the begin of the contour, 1 is the end of the contour)
absolute offset along the contour from the relatively calculated location
whether to use the orientation of the contour at the location or not
offset applied to the calculated direction angle


In This Topic
    GlueToGeometryContour(Double,Double,Boolean,NAngle) Method
    In This Topic
    Glues the port location and direction to a relative position along the owner shape geometry contour.
    Syntax
    'Declaration
     
    
    Public Overloads Sub GlueToGeometryContour( _
       ByVal locationFactor As System.Double, _
       ByVal locationOffset As System.Double, _
       ByVal useContourOrientation As System.Boolean, _
       ByVal angleOffset As NAngle _
    ) 
    'Usage
     
    
    Dim instance As NPort
    Dim locationFactor As System.Double
    Dim locationOffset As System.Double
    Dim useContourOrientation As System.Boolean
    Dim angleOffset As NAngle
     
    instance.GlueToGeometryContour(locationFactor, locationOffset, useContourOrientation, angleOffset)
    public void GlueToGeometryContour( 
       System.double locationFactor,
       System.double locationOffset,
       System.bool useContourOrientation,
       NAngle angleOffset
    )

    Parameters

    locationFactor
    relative location along the geometry contour (0 is the begin of the contour, 1 is the end of the contour)
    locationOffset
    absolute offset along the contour from the relatively calculated location
    useContourOrientation
    whether to use the orientation of the contour at the location or not
    angleOffset
    offset applied to the calculated direction angle
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also