Class MeshPoint
Represents a point on a mesh as it's face index and barycentric coordinatees.
Inheritance
System.Object
MeshPoint
Namespace: Paramdigma.Core.Geometry
Assembly: Paramdigma.Core.dll
Syntax
public class MeshPoint : object
Constructors
| Improve this Doc View SourceMeshPoint(MeshFace, Point3d)
Initializes a new instance of the MeshPoint class.
Declaration
public MeshPoint(MeshFace face, Point3d point)
Parameters
Type | Name | Description |
---|---|---|
MeshFace | face | Mesh face. |
Point3d | point | 3D Point. |
MeshPoint(Int32, Double, Double, Double)
Initializes a new instance of the MeshPoint class.
Declaration
public MeshPoint(int faceIndex, double u, double v, double w)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | faceIndex | Face Index. |
System.Double | u | U coordinate. |
System.Double | v | V coordinate. |
System.Double | w | Z coordinate. |
Properties
| Improve this Doc View SourceFaceIndex
Gets or sets the index of the face this point lies in.
Declaration
public int FaceIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
U
Gets or sets the U coordinate at the face.
Declaration
public double U { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
V
Gets or sets the V coordinate at the face.
Declaration
public double V { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
W
Gets or sets the W coordinate at the face.
Declaration
public double W { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
| Improve this Doc View SourceToString()
Converts a mesh point into a string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String representation of the mesh point. |