ICurve Interface

Curve.

Definition

Namespace: Karamba.Geometry
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
public interface ICurve : IEquatable<ICurve>
Implements
IEquatableICurve

Properties

Domain Gets or sets the domain of the curve.
IsClosed Gets a value indicating whether or not this curve is a closed curve.
PointAtEnd Gets the point at the end of the curve.
PointAtStart Gets the point at the start of the curve.

Methods

Contains Computes the relationship between a point and a closed curve region. This curve must be closed or the return value will be Unset.
CurvatureAt Evaluate the curvature vector at a curve parameter.
DivideByLength Divide the curve into specific length segments.
DoDirectionsMatch Determines whether two curves travel more or less in the same direction.
DuplicateCurve Constructs an exact duplicate of this curve.
Equals Indicates whether the current object is equal to another object of the same type.
(Inherited from IEquatableICurve)
Explode Explodes a curve into its segments.
GetBoundingBox Boundingbox solver. Gets the world axis aligned boundingbox for the geometry.
GetControlPoints Gets the control points of the curve.
GetNextDiscontinuity Searches for a derivative, tangent, or curvature discontinuity.
IncludesParameter Tests a parameter for Interval inclusion.
IsArc Determines whether the curve is an arc.
IsCircle Determines whether the curve is a circle.
IsLinear Determines whether the curve is a line.
IsSimilar Checks whether two curves are similar by comparing their endpoints.
JoinCurves Joins a collection of curve segments together.
PointAt Evaluates point at a curve parameter.
Reverse Reverses the direction of the curve.
TangentAt Evaluates the unit tangent vector at a curve parameter.
TryGetPolyline Several types of Curve can have the form of a polyline including a degree 1 NurbsCurve, a PolylineCurve, and a PolyCurve all of whose segments are some form of polyline. IsPolyline tests a curve to see if it can be represented as a polyline.

See Also