The methods of the **xyzArray** class are listed below. For a complete list of **xyzArray** class members, see the xyzArray Members topic.

FromString | You can initialize an xyzArray with a string. For example: xyzArray A; A= fromString( "{0/0/00; 10/0/0; 10/0/10; 0/10/0}"); |

Add | Adds a point to the xyzArray. A[0] = new xyz(1,2,3); .. A[9] ) new xyz(4,-2, 3); as Create an Array of length 0 and add 10 times a point. |

ClockWise | Indicates the orientation. If the cross vector heads to the same side of the array like the Direction then the result is true, otherwise it is false. |

Close | Adds a point with same coordinates as the first one |

Closed | If the first and the last point are equal, it returns true. |

copy | Creates a copy of the polygon and retrieves it. |

cross | Calcuates the cross product over all members, which is usefull for calculation of the normal and the area of the array. In case, the polygon is plane cross is a normal, which has the length : 2 * area of the polygon. |

Direction | Calculates the direction of the polygon in a point, which is described by its param |

Distance | Overloaded. This method calculates the distance of the array to a line only in case, if the distance is smaller than MaxDist., otherwise Utils.big will be returned. Imagine a cylinder with radius MaxDist around the polygon. If the line goes through the one of the cylinders, this line will be taken and the distance will be calculated and returned. |

Equals (inherited from Object) | |

GetEnumerator | Implements the method GetEnumerator and returns the IEnumerator of the datafield. |

GetHashCode (inherited from Object) | |

GetMaxBox | Returns an eveloping box of the array relative to a base. |

GetPlane | Returns a plane, which contains the the first three different points. If they doesn`t exist, null will be returned. |

GetType (inherited from Object) | |

Invert | Inverts the array. The first entry will be the last and so on. |

IsConvex | Returns true if the array is convex. |

LengthToParam | Converts a given length to a parameter, which can be used as param for the Value-method. |

MaxBox | Overloaded. Calculates a environment box with axes parallel to unitbase for the array. |

normal | Calculates a normalvector of the array. |

ParamToLength | Calculates the length of the array form 0 until the parameter given by Param. For a Param = Count you get the full length of the array |

RemoveAt | Removes the Point with a given Index from the Array |

RemoveZeros | Remove Points, which has a distance zero to the neighbour. |

ToArray | Returns an Array of xyz |

ToString | Returns a string, which starts with "{" and ends with "}". The points are separated with ";". |

ToxyArray | Converts a xyzArray to a xyArray by omitting the z-coordinate |

Transform | The method transforms every point in the array by the matrix m. |

TransformEx | The method transforms every point in the array by the matrix m and returns these points in an array. |

Triangulation | Calculates a Triangulation (also known as tesselation) and returns the triangles in a TriangleList |

Value | Calculates a point on the polygon belonging to param. For param = 0 , 1, 2, 3 ... you get the points this[0], this[1], this[2], this[3],... For values between a linear interpolation will be done. xyzArray a = new xyzArray(4); a[0]= new xyz(1, 1, 1); a[1]= new xyz(1,-1, 2); a[2]= new xyz(3, 4, 2); a[3]= new xyz(2, 2, 1); //a.Value(0.5) = (1, 0, 1.5) |

Finalize (inherited from Object) | |

MemberwiseClone (inherited from Object) |

xyzArray Class | Drawing3d.Math Namespace | TriangleList | cross