distance_pcdistance_pcDistancePcDistancePcdistance_pc (Operator)

Name

distance_pcdistance_pcDistancePcDistancePcdistance_pc — Berechnen des Abstandes zwischen Punkten und einer Kontur.

Signatur

distance_pc(Contour : : Row, Column : DistanceMin, DistanceMax)

Herror distance_pc(const Hobject Contour, double Row, double Column, double* DistanceMin, double* DistanceMax)

Herror T_distance_pc(const Hobject Contour, const Htuple Row, const Htuple Column, Htuple* DistanceMin, Htuple* DistanceMax)

void DistancePc(const HObject& Contour, const HTuple& Row, const HTuple& Column, HTuple* DistanceMin, HTuple* DistanceMax)

void HXLDCont::DistancePc(const HTuple& Row, const HTuple& Column, HTuple* DistanceMin, HTuple* DistanceMax) const

void HXLDCont::DistancePc(double Row, double Column, double* DistanceMin, double* DistanceMax) const

static void HOperatorSet.DistancePc(HObject contour, HTuple row, HTuple column, out HTuple distanceMin, out HTuple distanceMax)

void HXLDCont.DistancePc(HTuple row, HTuple column, out HTuple distanceMin, out HTuple distanceMax)

void HXLDCont.DistancePc(double row, double column, out double distanceMin, out double distanceMax)

def distance_pc(contour: HObject, row: MaybeSequence[Union[float, int]], column: MaybeSequence[Union[float, int]]) -> Tuple[Sequence[float], Sequence[float]]

def distance_pc_s(contour: HObject, row: MaybeSequence[Union[float, int]], column: MaybeSequence[Union[float, int]]) -> Tuple[float, float]

Beschreibung

distance_pcdistance_pcDistancePcDistancePcDistancePcdistance_pc berechnet den Abstand zwischen Punkten und einer Kontur. Als Eingabe werden die Spalten- und Zeilenkoordinaten der Punkte (RowRowRowRowrowrow,ColumnColumnColumnColumncolumncolumn) und eine Kontur (ContourContourContourContourcontourcontour) erwartet. Das Ergebnis wird in den Parametern DistanceMinDistanceMinDistanceMinDistanceMindistanceMindistance_min und DistanceMaxDistanceMaxDistanceMaxDistanceMaxdistanceMaxdistance_max zurückgegeben. Die Abstände bezeichnen die Abstände zwischen den Punkten und den Kontursegmenten und nicht die Abstände zwischen den Punkten und den Stützpunkten der Kontur (siehe auch distance_contours_xlddistance_contours_xldDistanceContoursXldDistanceContoursXldDistanceContoursXlddistance_contours_xld).

Ausführungsinformationen

Parameter

ContourContourContourContourcontourcontour (input_object)  xld_cont objectHXLDContHObjectHXLDContHobject

Eingabekontur.

RowRowRowRowrowrow (input_control)  point.y(-array) HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Zeilenkoordinate des Punktes.

ColumnColumnColumnColumncolumncolumn (input_control)  point.x(-array) HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Spaltenkoordinate des Punktes.

DistanceMinDistanceMinDistanceMinDistanceMindistanceMindistance_min (output_control)  real(-array) HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Minimaler Abstand zwischen dem Punkt und der Kontur.

DistanceMaxDistanceMaxDistanceMaxDistanceMaxdistanceMaxdistance_max (output_control)  real(-array) HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Maximaler Abstand zwischen dem Punkt und der Kontur.

Ergebnis

distance_pcdistance_pcDistancePcDistancePcDistancePcdistance_pc liefert den Wert 2 (H_MSG_TRUE).

Alternativen

distance_lcdistance_lcDistanceLcDistanceLcDistanceLcdistance_lc, distance_scdistance_scDistanceScDistanceScDistanceScdistance_sc, distance_ccdistance_ccDistanceCcDistanceCcDistanceCcdistance_cc, distance_cc_mindistance_cc_minDistanceCcMinDistanceCcMinDistanceCcMindistance_cc_min

Siehe auch

distance_prdistance_prDistancePrDistancePrDistancePrdistance_pr, distance_lrdistance_lrDistanceLrDistanceLrDistanceLrdistance_lr, distance_srdistance_srDistanceSrDistanceSrDistanceSrdistance_sr, hamming_distancehamming_distanceHammingDistanceHammingDistanceHammingDistancehamming_distance, select_xld_pointselect_xld_pointSelectXldPointSelectXldPointSelectXldPointselect_xld_point, test_xld_pointtest_xld_pointTestXldPointTestXldPointTestXldPointtest_xld_point

Modul

Foundation