IBezierCurveGEN Interface

OLE automation compatibility interface for IBezierCurve.

Members

Name Description
Read-only property Degree The degree of the Bezier curve. For third degree Beziers, this is always 3.
Method PutCoord Sets the specified (0 <= index < 4) control point of this Bezier curve.
Method PutCoords Sets this Bezier curve's control points from an array of between 1 to 4 input points.
Method QueryChordLengthTangentAtFrom Returns tangent vector at 'from' point, based on chord length parametrization; and whether it has been set by user or by smoothing process.
Method QueryChordLengthTangentAtTo Returns tangent vector at 'to' point, based on chord length parametrization; and whether it has been set by user or by smoothing process.
Method QueryCoord Copies the specified control point of this Bezier curve into the input point.
Method QueryCoords Sets the existing elements of an existing safe array to be equal to the four control points of this bezier curve.
Method QueryInflectionPoint Finds inflection point; sets it empty if none exists.
Method SetChordLengthTangentAtFrom Establishes tangent vector at 'from' point, based on chord length parametrization; and sets flag whether it has been set by user or by smoothing process.
Method SetChordLengthTangentAtTo Establishes tangent vector at 'to' point, based on chord length parametrization; and sets flag whether it has been set by user or by smoothing process.

IBezierCurveGEN.Degree Property

The degree of the Bezier curve. For third degree Beziers, this is always 3.

Public ReadOnly Property Degree As Integer
public int Degree {get;}

IBezierCurveGEN.PutCoord Method

Sets the specified (0 <= index < 4) control point of this Bezier curve.

Public Sub PutCoord ( _
    ByVal Index As Integer, _
    ByVal controlPoint As IPoint _
)
public void PutCoord (
    int Index,
    IPoint controlPoint
);

IBezierCurveGEN.PutCoords Method

Sets this Bezier curve's control points from an array of between 1 to 4 input points.

Public Sub PutCoords ( _
    ByRef controlPoints As IPoint[] _
)
public void PutCoords (
    ref IPoint[] controlPoints
);

Description

Defines the control points of the bezier curve using an array of four Points. If the array is defined as an array from 0 to 3, then the index of each point corresponds to the control point they represent.

Remarks

Use PutCoord to set a single control point.

BezierCurve PutCoords Example

IBezierCurveGEN.QueryChordLengthTangentAtFrom Method

Returns tangent vector at 'from' point, based on chord length parametrization; and whether it has been set by user or by smoothing process.

Public Sub QueryChordLengthTangentAtFrom ( _
    ByVal tangent As IPoint, _
    ByRef setByUser As Boolean _
)
public void QueryChordLengthTangentAtFrom (
    IPoint tangent,
    ref bool setByUser
);

IBezierCurveGEN.QueryChordLengthTangentAtTo Method

Returns tangent vector at 'to' point, based on chord length parametrization; and whether it has been set by user or by smoothing process.

Public Sub QueryChordLengthTangentAtTo ( _
    ByVal tangent As IPoint, _
    ByRef setByUser As Boolean _
)
public void QueryChordLengthTangentAtTo (
    IPoint tangent,
    ref bool setByUser
);

IBezierCurveGEN.QueryCoord Method

Copies the specified control point of this Bezier curve into the input point.

Public Sub QueryCoord ( _
    ByVal Index As Integer, _
    ByVal controlPoint As IPoint _
)
public void QueryCoord (
    int Index,
    IPoint controlPoint
);

IBezierCurveGEN.QueryCoords Method

Sets the existing elements of an existing safe array to be equal to the four control points of this bezier curve.

Public Sub QueryCoords ( _
    ByRef controlPoints As IPoint[] _
)
public void QueryCoords (
    ref IPoint[] controlPoints
);

IBezierCurveGEN.QueryInflectionPoint Method

Finds inflection point; sets it empty if none exists.

Public Sub QueryInflectionPoint ( _
    ByVal inflectionPoint As IPoint _
)
public void QueryInflectionPoint (
    IPoint inflectionPoint
);

IBezierCurveGEN.SetChordLengthTangentAtFrom Method

Establishes tangent vector at 'from' point, based on chord length parametrization; and sets flag whether it has been set by user or by smoothing process.

Public Sub SetChordLengthTangentAtFrom ( _
    ByVal tangent As IPoint, _
    ByVal setByUser As Boolean _
)
public void SetChordLengthTangentAtFrom (
    IPoint tangent,
    bool setByUser
);

IBezierCurveGEN.SetChordLengthTangentAtTo Method

Establishes tangent vector at 'to' point, based on chord length parametrization; and sets flag whether it has been set by user or by smoothing process.

Public Sub SetChordLengthTangentAtTo ( _
    ByVal tangent As IPoint, _
    ByVal setByUser As Boolean _
)
public void SetChordLengthTangentAtTo (
    IPoint tangent,
    bool setByUser
);

Classes that implement IBezierCurveGEN

Classes Description
BezierCurve A cubic Bezier curve defined between two points; optionally has measure, height and ID attributes at each endpoint.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.