BiArcSegment

References
public sealed class BiArcSegment
Represents a segment of a bi-arc curve, or the family of transition points of a bi-arc family. A BiArcSegment is always either a line, or an arc.

Constructors

BiArcSegment

#
Create a segment from an arc.
public BiArcSegment(
arc
)

BiArcSegment

#
Create a segment from a line.
public BiArcSegment(
line
)

BiArcSegment

#
Create a segment from a start point, end point and a start tangent.
public BiArcSegment(
a,
b,
tangentAtA
)

Properties

Arc

#
Gets the arc data.
public Arc Arc { get; }

IsArc

#
Gets whether this segment is arc shaped.
public bool IsArc { get; }

IsLine

#
Gets whether this segment is line shaped.
public bool IsLine { get; }

IsValid

#
Gets whether this segment is valid.
public bool IsValid { get; }

Length

#
Gets the length of this segment.
public double Length { get; }

Line

#
Gets the line data.
public Line Line { get; }

Pa

#
Gets the start point of the segment.
public Point3d Pa { get; }

Pb

#
Gets the end point of the segment.
public Point3d Pb { get; }

Shape

#
Gets either the Line or the Arc.
public object Shape { get; }

Ta

#
Gets the start tangent of the segment.
public Vector3d Ta { get; }

Tb

#
Gets the end tangent of the segment.
public Vector3d Tb { get; }

Unset

#
public static BiArcSegment Unset { get; }

Methods

Append

#
Append this segment to a polycurve.
public void Append(
curve
)

Evaluate

#
Gets a point linearly interpolated along the length of the segment.
public Point3d Evaluate()

Reverse

#
Reverse the direction of this segment.
public BiArcSegment Reverse()

ToCurve

#
Convert this segment to a Curve type.
public Curve ToCurve()