Skip to content

T_Rhino_Geometry_MeshPoint

Will Pearson edited this page Aug 12, 2016 · 2 revisions

MeshPoint Class

Represents a point that is found on a mesh.

Inheritance Hierarchy

System.Object
  Rhino.Geometry.MeshPoint
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public class MeshPoint

VB

Public Class MeshPoint

The MeshPoint type exposes the following members.

Properties

 

Name Description
Public property ComponentIndex Gets the component index of the intersecting element in the mesh.
Public property EdgeIndex When set, EdgeIndex is an index of an edge in the mesh's edge list.
Public property EdgeParameter Edge parameter when found.
Public property FaceIndex FaceIndex is an index of a face in mesh.Faces. When ComponentIndex refers to a vertex, any face that uses the vertex may appear as FaceIndex. When ComponenctIndex refers to an Edge or EdgeIndex is set, then any face that uses that edge may appear as FaceIndex.
Public property Mesh The mesh that is ralated to this point.
Public property Point Gets the location (position) of this point.
Public property T Barycentric quad coordinates for the point on the mesh face mesh.Faces[FaceIndex]. If the face is a triangle disregard T[3] (it should be set to 0.0). If the face is a quad and is split between vertexes 0 and 2, then T[3] will be 0.0 when point is on the triangle defined by vi[0], vi[1], vi[2], and T[1] will be 0.0 when point is on the triangle defined by vi[0], vi[2], vi[3]. If the face is a quad and is split between vertexes 1 and 3, then T[2] will be 0.0 when point is on the triangle defined by vi[0], vi[1], vi[3], and m_t[0] will be 0.0 when point is on the triangle defined by vi[1], vi[2], vi[3].
Public property Triangle Face triangle where the intersection takes place: 0 is unset

A is 0,1,2

B is 0,2,3

C is 0,1,3

D is 1,2,3

  Back to Top

Methods

 

Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetTriangle Gets the mesh face indices of the triangle where the intersection is on the face takes into consideration the way the quad was split during the intersection.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Rhino.Geometry Namespace

Clone this wiki locally