PFEdge Class |
[Missing <summary> documentation for "T:PolyFramework.PFEdge"]
Namespace: PolyFramework
The PFEdge type exposes the following members.
| Name | Description | |
|---|---|---|
| PFEdge | Initializes a new instance of the PFEdge class | |
| PFEdge(Int32) | Initializes a new instance of the PFEdge class | |
| PFEdge(Int32, IListPFVertex) | Initializes a new instance of the PFEdge class |
| Name | Description | |
|---|---|---|
| Deviation | ||
| Dual | ||
| External |
Refers to the position of the edge in the foam/structure - usually applies to the dual
it will be external if the edge sticks outside of the primal external cell.
| |
| FaceAngle | ||
| Faces | ||
| Id |
Edge Id is an integer positive or negative for the pair (cannot be 0 if face is initialized)
| |
| InfluenceCoef | ||
| MaxLength | ||
| MinLength | ||
| Pair | ||
| Picked | ||
| TargetLength | ||
| Vertices |
| Name | Description | |
|---|---|---|
| AngleToDir |
Calculates the angle to a specified direction (vector3d)
| |
| AngleToDual |
Calculates the angle to the dual face.
| |
| CreateLine | ||
| CreatePair |
Creates the reversed edge and stores it in the original edge as the pair.
The pair will not have a face for now. Make sure to assign one in the sorting process.
| |
| Equals | (Overrides ObjectEquals(Object).) | |
| FacePairs |
Returns a dictionary of all the consecutive half-face pairs around a half-edge
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetDirectionVector | ||
| GetHashCode | (Overrides ObjectGetHashCode.) | |
| GetLength |
Gets the length of the edge.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InterPerp |
Rotates the edge towards a target vector making sure the ends do not travel beyond a max distance
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OrientationToDual |
Gets the orientation of the edge in rapport to its dual face
| |
| PerpEdge |
1 Step perpendincularization of the edge
Will change the locations of the vertexes at the ends
This should be used on a clone of the edge
Requires dual of the edge to be set
| |
| PerpScale_Soft |
Perps and scales the edge in one step
If target length is set - scales the edge to target
If not set it makes sure minLen smaller that length and length is smaller than maxLegth
Uses the constraint move of the point to limit move
| |
| PointInCell |
Finds the cell a point is in relative to an edge
The cell is part of the list of cells the edge is connected to.
| |
| Scale_Soft |
Scales the edge in one step
If target length is set - scales the edge to target
If not set it makes sure minLen smaller that length and length is smaller than maxLegth
Uses the constraint move of the point to limit move
| |
| ScaleEdge |
Scales an edge to a desired length.
Changes the edge in place.
| |
| ScaleToDir |
This scales an edge while keeping a given direction
If edge is reversed it will be un-reversed by reconstruction to the new direction.
| |
| SerializeDict | ||
| SerializeJson | ||
| SortFacesByAngle |
Sorts all the faces around an edge based on the angle
The angle is measured using the first face normal in the list.
| |
| SwitchPoints |
switches the geometry of an edge
only the 3d points in the vertexes will be switched
| |
| ToString | (Overrides ObjectToString.) |