Table of Contents

Class NwcPointToMeshMeasurement

Namespace
NwcIO.Model.Measure
Assembly
NwcIO.dll

Result of a point-to-mesh shortest distance measurement.

public sealed record NwcPointToMeshMeasurement : IEquatable<NwcPointToMeshMeasurement>

Inheritance

Implements

Inherited Members

Constructors

NwcPointToMeshMeasurement(Vector3d, Vector3d, double, int, Vector3d)

Result of a point-to-mesh shortest distance measurement.

public NwcPointToMeshMeasurement(Vector3d QueryPoint, Vector3d ClosestPoint, double Distance, int ClosestTriangleIndex, Vector3d Normal)

Parameters

QueryPoint Vector3d
ClosestPoint Vector3d
Distance double
ClosestTriangleIndex int
Normal Vector3d

Properties

ClosestPoint

public Vector3d ClosestPoint { get; init; }

Property Value

Vector3d

ClosestTriangleIndex

public int ClosestTriangleIndex { get; init; }

Property Value

int

Distance

public double Distance { get; init; }

Property Value

double

Normal

public Vector3d Normal { get; init; }

Property Value

Vector3d

QueryPoint

public Vector3d QueryPoint { get; init; }

Property Value

Vector3d

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.