Class CurvePart
Represents a open or closed part of a curve, using a list of CurveSegments and its starting point.
Inheritance
System.Object
CurvePart
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 CurvePart
Fields
CurveSegments
The segments making up the CurvePart.
Declaration
public IList<CurveSegment> CurveSegments
Field Value
Type | Description |
---|---|
System. |
IsClosed
A CurvePart can be closed or open.
Declaration
public bool IsClosed
Field Value
Type | Description |
---|---|
System. |
StartPoint
The starting point of the CurvePart.
Declaration
public float3 StartPoint
Field Value
Type | Description |
---|---|
float3 |
Methods
CalcAdaptivePolyline(Int32)
Calculates a polygonal chain, representing the curve part.
Declaration
public IEnumerable<float3> CalcAdaptivePolyline(int angle)
Parameters
Type | Name | Description |
---|---|---|
System. |
angle | Determines how far the angle may vary from 180°. |
Returns
Type | Description |
---|---|
System. |
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. |
acreage | Determines a maximal acreage for the triangle created from start point random point and end point. |
Returns
Type | Description |
---|---|
System. |
CalcUniformPolyline(Int32)
Calculates a polygonal chain, representing the CurvePart.
Declaration
public IEnumerable<float3> CalcUniformPolyline(int subdiv)
Parameters
Type | Name | Description |
---|---|---|
System. |
subdiv | The number of subdivisions per CurveSegment. |
Returns
Type | Description |
---|---|
System. |