Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / Triangle Class / Centroid Method
First vertex
Second vertex
Third vertex

In This Topic
    Centroid Method
    In This Topic
    Computes the centroid of a triangle.
    Syntax
    'Declaration
     
    Public Shared Function Centroid( _
       ByVal p1 As Point3D, _
       ByVal p2 As Point3D, _
       ByVal p3 As Point3D _
    ) As Point3D
    public static Point3D Centroid( 
       Point3D p1,
       Point3D p2,
       Point3D p3
    )

    Parameters

    p1
    First vertex
    p2
    Second vertex
    p3
    Third vertex

    Return Value

    The 3D centroid position.
    See Also