Show / Hide Table of Contents

    Interface ICurve

    An infinite curve.

    Namespace: Elements.Geometry.Interfaces
    Assembly: Hypar.Elements.dll
    Syntax
    public interface ICurve

    Methods

    ParameterAtDistanceFromParameter(Double, Double)

    Get the parameter at a distance from the specified parameter along the curve.

    Declaration
    double ParameterAtDistanceFromParameter(double distance, double parameter)
    Parameters
    Type Name Description
    System.Double distance

    The distance from the start parameter.

    System.Double parameter

    The parameter from which to measure the distance.

    Returns
    Type Description
    System.Double

    PointAt(Double)

    Get a point along the curve at parameter u.

    Declaration
    Vector3 PointAt(double u)
    Parameters
    Type Name Description
    System.Double u

    A parameter on the curve.

    Returns
    Type Description
    Vector3

    The point on the curve.

    TransformAt(Double)

    Get the frame from the curve at parameter u.

    Declaration
    Transform TransformAt(double u)
    Parameters
    Type Name Description
    System.Double u

    A parameter on the curve.

    Returns
    Type Description
    Transform

    The transform of the curve at parameter u, with the transform's Z axis tangent to the curve.