fRemovePointsBehindDividingPlane: Handles the logic needed by the mViewBeginsFromCoordinates...

View source: R/fRemovePointsBehindDividingPlane.R

fRemovePointsBehindDividingPlaneR Documentation

Handles the logic needed by the mViewBeginsFromCoordinates parm in fGetTransformedCoordinates.

Description

Removes unnecessary points behind the plane and keeps only those behind points which are adjacent to a point in front for interpolation by fGetInterpolatedPointsAtDivisionPlane

Usage

fRemovePointsBehindDividingPlane(
  mCoordinates,
  nDivisionPlaneCoefficients,
  bOriginDestinationInPositiveDirection = T,
  iTreatAs = 1
)

Arguments

mCoordinates

matrix with three columns [x,y,z] with >= one rows

nDivisionPlaneCoefficients

matrix with four columns [a,b,c,d] such that the equation of the plan is ax + by + cz = d. This is the plane across which the data could be spread across

bOriginDestinationInPositiveDirection

boolean. Dictates which side of the plane should be treated as behind and which front

iTreatAs

Explained in mViewBeginsFromCoordinates in fGetTransformedCoordinates.


thecomeonman/POV documentation built on Sept. 24, 2022, 8:31 p.m.