Table of Contents

Interface IFlat3d

Namespace
Hi.Geom
Assembly
HiGeom.dll

Interface for a 3D plane that provides an anchor point and a normal vector.

public interface IFlat3d
Extension Methods

Methods

GetDistanceToOrigin()

Signed Distance To Origin.

double GetDistanceToOrigin()

Returns

double

Signed Distance To Origin.

GetLocate()

Gets an anchor point on this flat surface.

Vec3d GetLocate()

Returns

Vec3d

A point on the flat surface

GetLocate(Vec3d, double)

Gets an anchor point from a normal vector and signed distance to origin.

public static Vec3d GetLocate(Vec3d normal, double distanceToOrigin)

Parameters

normal Vec3d

The unit normal vector.

distanceToOrigin double

Signed distance to origin.

Returns

Vec3d

The anchor point on the plane.

GetNormal()

Gets the normal vector of the flat surface.

Vec3d GetNormal()

Returns

Vec3d

The unit normal vector