Click or drag to resize

PFEdge Class

[Missing <summary> documentation for "T:PolyFramework.PFEdge"]

Inheritance Hierarchy
SystemObject
  PolyFrameworkPFEdge

Namespace:  PolyFramework
Assembly:  PolyFramework (in PolyFramework.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax
[SerializableAttribute]
public class PFEdge

The PFEdge type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyDeviation
Public propertyDual
Public propertyExternal
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.
Public propertyFaceAngle
Public propertyFaces
Public propertyId
Edge Id is an integer positive or negative for the pair (cannot be 0 if face is initialized)
Public propertyInfluenceCoef
Public propertyMaxLength
Public propertyMinLength
Public propertyPair
Public propertyPicked
Public propertyTargetLength
Public propertyVertices
Top
Methods
  NameDescription
Public methodAngleToDir
Calculates the angle to a specified direction (vector3d)
Public methodAngleToDual
Calculates the angle to the dual face.
Public methodCreateLine
Public methodCreatePair
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.
Public methodEquals (Overrides ObjectEquals(Object).)
Public methodFacePairs
Returns a dictionary of all the consecutive half-face pairs around a half-edge
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetDirectionVector
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Public methodGetLength
Gets the length of the edge.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInterPerp
Rotates the edge towards a target vector making sure the ends do not travel beyond a max distance
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOrientationToDual
Gets the orientation of the edge in rapport to its dual face
Public methodPerpEdge
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
Public methodPerpScale_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
Public methodPointInCell
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.
Public methodScale_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
Public methodScaleEdge
Scales an edge to a desired length. Changes the edge in place.
Public methodScaleToDir
This scales an edge while keeping a given direction If edge is reversed it will be un-reversed by reconstruction to the new direction.
Public methodSerializeDict
Public methodSerializeJson
Public methodSortFacesByAngle
Sorts all the faces around an edge based on the angle The angle is measured using the first face normal in the list.
Public methodSwitchPoints
switches the geometry of an edge only the 3d points in the vertexes will be switched
Public methodToString (Overrides ObjectToString.)
Top
See Also