Class Face3d
Represents a 3dFace EntityObject.
Inherited Members
Namespace: netDxf.Entities
Assembly: CADability.dll
Syntax
public class Face3d : EntityObject, IHasXData, ICloneable
Constructors
| Improve this Doc View SourceFace3d()
Initializes a new instance of the Face3d class.
Declaration
public Face3d()
Face3d(Vector2, Vector2, Vector2)
Initializes a new instance of the Face3d class.
Declaration
public Face3d(Vector2 firstVertex, Vector2 secondVertex, Vector2 thirdVertex)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector2 | firstVertex | 3d face Vector2. |
| Vector2 | secondVertex | 3d face Vector2. |
| Vector2 | thirdVertex | 3d face Vector2. |
Face3d(Vector2, Vector2, Vector2, Vector2)
Initializes a new instance of the Face3d class.
Declaration
public Face3d(Vector2 firstVertex, Vector2 secondVertex, Vector2 thirdVertex, Vector2 fourthVertex)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector2 | firstVertex | 3d face Vector2. |
| Vector2 | secondVertex | 3d face Vector2. |
| Vector2 | thirdVertex | 3d face Vector2. |
| Vector2 | fourthVertex | 3d face Vector2. |
Face3d(Vector3, Vector3, Vector3)
Initializes a new instance of the Face3d class.
Declaration
public Face3d(Vector3 firstVertex, Vector3 secondVertex, Vector3 thirdVertex)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | firstVertex | 3d face Vector3. |
| Vector3 | secondVertex | 3d face Vector3. |
| Vector3 | thirdVertex | 3d face Vector3. |
Face3d(Vector3, Vector3, Vector3, Vector3)
Initializes a new instance of the Face3d class.
Declaration
public Face3d(Vector3 firstVertex, Vector3 secondVertex, Vector3 thirdVertex, Vector3 fourthVertex)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | firstVertex | 3d face Vector3. |
| Vector3 | secondVertex | 3d face Vector3. |
| Vector3 | thirdVertex | 3d face Vector3. |
| Vector3 | fourthVertex | 3d face Vector3. |
Properties
| Improve this Doc View SourceEdgeFlags
Gets or sets the 3d face edge visibility.
Declaration
public Face3dEdgeFlags EdgeFlags { get; set; }
Property Value
| Type | Description |
|---|---|
| Face3dEdgeFlags |
FirstVertex
Gets or sets the first 3d face Vector3.
Declaration
public Vector3 FirstVertex { get; set; }
Property Value
| Type | Description |
|---|---|
| Vector3 |
FourthVertex
Gets or sets the fourth 3d face Vector3.
Declaration
public Vector3 FourthVertex { get; set; }
Property Value
| Type | Description |
|---|---|
| Vector3 |
SecondVertex
Gets or sets the second 3d face Vector3.
Declaration
public Vector3 SecondVertex { get; set; }
Property Value
| Type | Description |
|---|---|
| Vector3 |
ThirdVertex
Gets or sets the third 3d face Vector3.
Declaration
public Vector3 ThirdVertex { get; set; }
Property Value
| Type | Description |
|---|---|
| Vector3 |
Methods
| Improve this Doc View SourceClone()
Creates a new Face3d that is a copy of the current instance.
Declaration
public override object Clone()
Returns
| Type | Description |
|---|---|
| System.Object | A new Face3d that is a copy of this instance. |
Overrides
| Improve this Doc View SourceTransformBy(Matrix3, Vector3)
Moves, scales, and/or rotates the current entity given a 3x3 transformation matrix and a translation vector.
Declaration
public override void TransformBy(Matrix3 transformation, Vector3 translation)
Parameters
| Type | Name | Description |
|---|---|---|
| Matrix3 | transformation | Transformation matrix. |
| Vector3 | translation | Translation vector. |
Overrides
Remarks
Matrix3 adopts the convention of using column vectors to represent a transformation matrix.