eVision .NET API
Loading...
Searching...
No Matches
eVision.Easy3D.EPlaneFitter Class Reference

A EPlaneFitter object is used to fit an E3DPlane on an EPointCloud. More...

Inheritance diagram for eVision.Easy3D.EPlaneFitter:
Collaboration diagram for eVision.Easy3D.EPlaneFitter:

Public Member Functions

 EPlaneFitter ()
 Constructor of an EPlaneFitter object.
 EPlaneFitter (eVision.Easy3D.EPlaneFitter other)
 Constructor of an EPlaneFitter object.
float Fit (eVision.Easy3D.EPointCloud pc, eVision.Easy3D.E3DPlane fittedPlane)
 Fits an E3DPlane on a given EPointCloud and returns the average distance from this plane to the points that were used for the fit.
eVision.Easy3D.E3DPlane Fit (eVision.Easy3D.EPointCloud pc)
 Fits an E3DPlane on a given EPointCloud and returns the average distance from this plane to the points that were used for the fit.
eVision.Easy3D.E3DPlane Fit (eVision.Easy3D.EPointCloud pc, out float averageDistance)
 Fits an E3DPlane on a given EPointCloud and returns the average distance from this plane to the points that were used for the fit.
void Load (string path)
 Loads the EPlaneFitter configuration. The given ESerializer must have been created for reading.
void Load (eVision.ESerializer serializer)
 Loads the EPlaneFitter configuration. The given ESerializer must have been created for reading.
void Save (string path)
 Saves the EPlaneFitter configuration. The given ESerializer must have been created for writing.
void Save (eVision.ESerializer serializer)
 Saves the EPlaneFitter configuration. The given ESerializer must have been created for writing.

Properties

int MinSampleCount [get, set]
 Sets/Gets the minimum number of points required in the input cloud.

Detailed Description

A EPlaneFitter object is used to fit an E3DPlane on an EPointCloud.

License(s): Easy3D

Constructor & Destructor Documentation

◆ EPlaneFitter() [1/2]

eVision.Easy3D.EPlaneFitter.EPlaneFitter ( )

Constructor of an EPlaneFitter object.

◆ EPlaneFitter() [2/2]

eVision.Easy3D.EPlaneFitter.EPlaneFitter ( eVision.Easy3D.EPlaneFitter other)

Constructor of an EPlaneFitter object.

Parameters
otherReference to the EPlaneFitter used for the initialization.

Member Function Documentation

◆ Fit() [1/3]

eVision.Easy3D.E3DPlane eVision.Easy3D.EPlaneFitter.Fit ( eVision.Easy3D.EPointCloud pc)

Fits an E3DPlane on a given EPointCloud and returns the average distance from this plane to the points that were used for the fit.

Parameters
pcThe reference to the point cloud.

The normal vector of the fitted plane is always oriented towards the positive Z axis, see E3DPlaneNormalOrientation.E3DPlaneNormalOrientation_PosZ.

Deprecated
Deprecated in version 24.6. Scheduled to be removed in version 27.6.

◆ Fit() [2/3]

float eVision.Easy3D.EPlaneFitter.Fit ( eVision.Easy3D.EPointCloud pc,
eVision.Easy3D.E3DPlane fittedPlane )

Fits an E3DPlane on a given EPointCloud and returns the average distance from this plane to the points that were used for the fit.

Parameters
pcThe reference to the point cloud.
fittedPlaneThe reference that will be filled with the fitted plane.

The normal vector of the fitted plane is always oriented towards the positive Z axis, see E3DPlaneNormalOrientation.E3DPlaneNormalOrientation_PosZ.

◆ Fit() [3/3]

eVision.Easy3D.E3DPlane eVision.Easy3D.EPlaneFitter.Fit ( eVision.Easy3D.EPointCloud pc,
out float averageDistance )

Fits an E3DPlane on a given EPointCloud and returns the average distance from this plane to the points that were used for the fit.

Parameters
pcThe reference to the point cloud.
averageDistanceThe reference to a float which will store the average distance from this plane to the points that were used for the fit.

The normal vector of the fitted plane is always oriented towards the positive Z axis, see E3DPlaneNormalOrientation.E3DPlaneNormalOrientation_PosZ.

Deprecated
Deprecated in version 24.6. Scheduled to be removed in version 27.6.

◆ Load() [1/2]

void eVision.Easy3D.EPlaneFitter.Load ( eVision.ESerializer serializer)

Loads the EPlaneFitter configuration. The given ESerializer must have been created for reading.

Parameters
serializerThe serializer.

◆ Load() [2/2]

void eVision.Easy3D.EPlaneFitter.Load ( string path)

Loads the EPlaneFitter configuration. The given ESerializer must have been created for reading.

Parameters
pathThe file path.

◆ Save() [1/2]

void eVision.Easy3D.EPlaneFitter.Save ( eVision.ESerializer serializer)

Saves the EPlaneFitter configuration. The given ESerializer must have been created for writing.

Parameters
serializerThe ESerializer object that is written to.

◆ Save() [2/2]

void eVision.Easy3D.EPlaneFitter.Save ( string path)

Saves the EPlaneFitter configuration. The given ESerializer must have been created for writing.

Parameters
pathThe file path.

Property Documentation

◆ MinSampleCount

int eVision.Easy3D.EPlaneFitter.MinSampleCount
getset

Sets/Gets the minimum number of points required in the input cloud.

By default, a value of 3 is assumed.

Deprecated
Deprecated in version 26.2. Scheduled to be removed in version 27.6.