My Project
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Properties | List of all members
TriangleNet.Geometry.Point Class Reference

Represents a 2D point. More...

Inheritance diagram for TriangleNet.Geometry.Point:
TriangleNet.Geometry.Vertex TriangleNet.Topology.DCEL.Vertex

Public Member Functions

 Point (float x, float y)
 
 Point (float x, float y, int label)
 
override bool Equals (object obj)
 
bool Equals (Point p)
 
int CompareTo (Point other)
 
override int GetHashCode ()
 

Static Public Member Functions

static bool operator== (Point a, Point b)
 
static bool operator!= (Point a, Point b)
 
static operator Vector2 (Point p)
 
static operator Vector3 (Point p)
 

Properties

int ID [get, set]
 Gets or sets the vertex id.
 
float X [get, set]
 Gets or sets the vertex x coordinate.
 
float Y [get, set]
 Gets or sets the vertex y coordinate.
 
int Label [get, set]
 Gets or sets a general-purpose label.
 

Detailed Description

Represents a 2D point.

Property Documentation

◆ Label

int TriangleNet.Geometry.Point.Label
getset

Gets or sets a general-purpose label.

This is used for the vertex boundary mark.


The documentation for this class was generated from the following file: