Show / Hide Table of Contents

Class SplitToCurveSegmentHelper

Contains methods to spit a CurvePart into CurveSegments.

Inheritance
System.Object
SplitToCurveSegmentHelper
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.Base.Common
Assembly: Fusee.Base.Common.dll
Syntax
public static class SplitToCurveSegmentHelper

Methods

CombineCurveSegmentsAndAddThemToCurvePart(List<CurveSegment>, CurvePart)

Combines CurveSegments with the same type and adds them to a CurvePart.

Declaration
public static void CombineCurveSegmentsAndAddThemToCurvePart(List<CurveSegment> segments, CurvePart part)
Parameters
Type Name Description
System.Collections.Generic.List<CurveSegment> segments

List of CurveSegments - segments of the same type are combined.

CurvePart part

Curve part to which the combined segments belong.

SplitPartIntoSegments(CurvePart, List<Byte>, List<float3>)

Splits a CurvePart into CurveSegments by reading the byte pattern from a tag array.

Declaration
public static List<CurveSegment> SplitPartIntoSegments(CurvePart part, List<byte> partTags, List<float3> partVerts)
Parameters
Type Name Description
CurvePart part

The CurvePart to be split into CurveSegments.

System.Collections.Generic.List<System.Byte> partTags

Tags of the CurvePart (on curve point, off curve point).

System.Collections.Generic.List<float3> partVerts

Vertices of the CurvePart

Returns
Type Description
System.Collections.Generic.List<CurveSegment>
In This Article
  • Methods
    • CombineCurveSegmentsAndAddThemToCurvePart(List<CurveSegment>, CurvePart)
    • SplitPartIntoSegments(CurvePart, List<Byte>, List<float3>)
Generated by DocFX
GitHub Repo
Back to top