PolyLine3 Class

Polyline.

Definition

Namespace: Karamba.Geometry
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
[SerializableAttribute]
public class PolyLine3 : IEquatable<PolyLine3>, 
	IEnumerable<Point3>, IEnumerable
Inheritance
Object    PolyLine3
Implements
IEnumerablePoint3, IEnumerable, IEquatablePolyLine3

Constructors

PolyLine3 Initializes a new instance of the PolyLine3 class. Initialize a polyline class.
PolyLine3(IEnumerablePoint3) Initializes a new instance of the PolyLine3 class. Create polyline from an IEnumerableT.
PolyLine3(Point3) Initializes a new instance of the PolyLine3 class. Create polyline from Point3[].
PolyLine3(Point3, Point3) Initializes a new instance of the PolyLine3 class. Create polyline line segment.

Properties

IsClosed Gets or sets a value indicating whether the polyline is closed.
Item Gets or sets polyline point at index.
PointAtEnd Gets the line end point.
PointAtStart Gets the line start point.
PointCount Gets the number of points.
Points Gets the polyline points.
SegmentCount Gets the number of segments.

Methods

Add Add a point to the polyline after the current end point.
AddPolyline Add points belonging to another PolyLine3 to the current PolyLine3.
AddRange Add a list of points to the polyline after the current end point.
Cleaned Return a cleaned polyline.
Equals(Object) Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object))
Equals(PolyLine3) Tests whether another poly-line equals this poly-line.
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetEnumerator Returns an enumerator that iterates through the collection.
GetHashCode Serves as the default hash function.
(Overrides ObjectGetHashCode)
GetType Gets the Type of the current instance.
(Inherited from Object)
InsertRange Adds a point belonging to another PolyLine3 to the current PolyLine3.
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
RemoveOverlaps Remove overlapses from the polyline as they might result from Mesh-Mesh intersection.
Reverse Reverse PolyLine3 direction.
Tangent returns the tangent of the segment of given index. if the segment has zero length the next segment is chosen.
ToArray Copies the element on the polyline to new array Point3[].
ToString Returns a string that represents the current object.
(Overrides ObjectToString)

Operators

Equality(PolyLine3, PolyLine3) Compare two lines.
Inequality(PolyLine3, PolyLine3) Compare lines for inequality.

Extension Methods

ContainerType test if object is (a container like) a list or an array.
(Defined by MiniUtil)
Convert Converts to Rhino's PolylineCurve.
(Defined by ToRhino)
ConvertToFebVecVec3d Converts to Vec3d.
(Defined by ToFeb)
SelectWherePoint3, TResult Project each element of a sequence into a new form if they fulfill a given condition.
(Defined by EnumerableExtensions)
SplitPoint3 Splits the source sequence by a max distance and optional minimum number of intervals applied to a sequence of double.
(Defined by EnumerableExtensions)
ToHashsetPoint3 Creates a HashSetT from an IEnumerableT.
(Defined by EnumerableExtensions)
ToPairPoint3 Convert am array with (at least) two elements in a pair (2-tuple).
(Defined by MiniUtil)
ToTuplePoint3 Convert am array/list/... with (at least) n elements in a n-tuple.
(Defined by MiniUtil)
WithIndexPoint3 Converts a list to a list with tuples of value and index.
(Defined by MiniUtil)
WithOrdinalityPoint3 Converts a list to a list with tuples of value and index.
(Defined by MiniUtil)
ZipThreePoint3, T2, T3, TResult Apply a given function with three input arguments to each element of three lists.
(Defined by Utils)

See Also