Show / Hide Table of Contents

Class Curve

Represents a curve, using a list of CurveParts.

Inheritance
System.Object
Curve
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fusee.Math.Core
Assembly: Fusee.Math.Core.dll
Syntax
public class Curve

Fields

CurveParts

The parts forming the curve.

Declaration
public IList<CurvePart> CurveParts
Field Value
Type Description
System.Collections.Generic.IList<CurvePart>

Methods

CalcAdaptivePolyline(Int32)

Calculates a polygonal chain, representing the curve.

Declaration
public IEnumerable<float3> CalcAdaptivePolyline(int angle)
Parameters
Type Name Description
System.Int32 angle

Determines how far the angle may vary from 180°.

Returns
Type Description
System.Collections.Generic.IEnumerable<float3>

CalcAdaptivePolyline(Single)

Returns a polygonal chain, representing the curve segment. Intermediate points are calculated adaptively.

Declaration
public IEnumerable<float3> CalcAdaptivePolyline(float acreage)
Parameters
Type Name Description
System.Single acreage

Determines the maximum acreage for the triangle consisting out of start point, random point and end point.

Returns
Type Description
System.Collections.Generic.IEnumerable<float3>

CalcUniformPolyline(Int32)

Calculates a polygonal chain, representing the curve.

Declaration
public IEnumerable<float3> CalcUniformPolyline(int subdiv)
Parameters
Type Name Description
System.Int32 subdiv

The number of subdivisions per curve segment.

Returns
Type Description
System.Collections.Generic.IEnumerable<float3>

CombineCurves(Curve, Curve)

Combines two Curves by creating a new one.

Declaration
public static Curve CombineCurves(Curve a, Curve b)
Parameters
Type Name Description
Curve a

The first curve to be combined.

Curve b

The first curve to be combined.

Returns
Type Description
Curve

CombineCurves(IEnumerable<Curve>)

Combines a list of Curves by creating a new Curve out of the list.

Declaration
public static Curve CombineCurves(IEnumerable<Curve> curves)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<Curve> curves

The curves to be combined.

Returns
Type Description
Curve
Generated by DocFX
GitHub Repo
Back to top