Face3 Structure

Mesh triangle.

Definition

Namespace: Karamba.Geometry
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
[SerializableAttribute]
public struct Face3 : ISerializable
Inheritance
Object    ValueType    Face3
Implements
ISerializable

Constructors

Face3(SerializationInfo, StreamingContext) Initializes a new instance of the Face3 struct. Deserialize MeshLoad.
Face3(Int32, Int32, Int32) Initializes a new instance of the Face3 struct. Create triangle.
Face3(Int32, Int32, Int32, Int32) Initializes a new instance of the Face3 struct. Create triangle.

Properties

A Gets or sets the index of node A of the face.
B Gets or sets the index of node B of the face.
C Gets or sets the index of node C of the face.
D Gets or sets the index of node D of the face.
IsQuad Gets a value indicating whether the face is a quadrangle.
IsTriangle Gets a value indicating whether the face is a triangle.
Item Get or set face vertex by index.
nVertices Gets the number of vertices of the face.

Methods

Edges Iterate through the segments of the closed polygon.
Equals equality test.
(Overrides ValueTypeEquals(Object))
FacesFromArray Converts an array of points to a list of points.
FacesToArray Converts a list of points to an array of doubles for faster serialization.
GetHashCode Return hash-code of the Face3.
(Overrides ValueTypeGetHashCode)
GetObjectData Populates a SerializationInfo with the data needed to serialize the target object.
GetType Gets the Type of the current instance.
(Inherited from Object)
ToString Returns the fully qualified type name of this instance.
(Overrides ValueTypeToString)

Operators

Equality(Face3, Face3) equality test.
Inequality(Face3, Face3) inequality test.

Extension Methods

ContainerType test if object is (a container like) a list or an array.
(Defined by MiniUtil)

See Also