PolyederExtensions Class |
[This is preliminary documentation and is subject to change.]
Namespace: Infrastructure.Geometry
public static class PolyederExtensions
The PolyederExtensions type exposes the following members.
Name | Description | |
---|---|---|
AddOneDRectangle |
Creates a 1D rectangle by adding 4 new vertices and 1 face to the polyeder which together form a rectangle of a given width and height.
| |
AddOneDSquare |
Creates a 1D square by adding 4 new points and 1 face to the polyeder which together from a square of given size.
The square will always be in the Z = 0 plane
| |
AddThreeDCircle |
Create a 3D circle around the origin of the provided coordinate system with given radius thickness.
| |
AddThreeDCube |
Generate a 3D cube with a given size (width, height and length) from the origin of the provided coordinate system.
The origin of the coordinate system will be at the center of the cube
| |
AddThreeDCylinder |
Adds a 3D cylinder to the polyeder.
| |
AddThreeDPyramid |
Create a 3D pyramid from a provided coordinate system and tip point and given width.
| |
AddThreeDPyramidFaces |
Adds 4 faces to the Polyeder, following a predefined order using the provided vertexIndexes (counter-clockwise).
These 4 faces are the remaining "side" faces of 3D pyramid. Each face consists out of 3 vertex indexes.
| |
AddThreeDRectangle(Polyeder, CoordinateSystem, Length, Length, Length) |
Generate a 3D rectangle with a given length, width and height from the origin of the provided coordinate system
The origin of the coordinate system will be at the center of the rectangle
| |
AddThreeDRectangle(Polyeder, Line, Length, Length, CoordinateSystemAdjustment) |
Generate a 3D rectangle with given width and height, based on the provided line.
The line represents the X-axis and runs through the center of the rectangle
| |
AddThreeDRectangleFaces |
Adds 4 faces to the Polyeder, following a predefined order using the provided vertexIndexes (counter-clockwise).
These 4 faces are the remaining faces of a 3D rectangle, of which 2 opposite facing faces have already been added to the polyeder.
| |
AddThreeDRectangles |
Generate 3D rectangles between the provided points, with given width and height.
At least 2 points must be provided.
| |
AddThreeDSquare |
Generate a 3D square "frame" in which the sides of the frames are created using 3D rectangles with the given thickness (width & length).
The size determines how big the square will be (height and/ width)
| |
AddThreeDZigZag |
Create a 3D "zigzag" / lightning-ish bolt
|