Graphisoft®

GeometryVersion: 1.0

Geometry::CalcElemParam

2D 프리미티브 내부의 한 점에 대한 파라미터를 계산합니다.

     double CalcElemParam (
       short                    typ,
       const Sector*            pSector,
       const GenArc*            pGenArc,
       long                     nCoords,
       const Coord*             pCoords,
       long                     nArcs,
       const PolyArcRec*        pArcs,
       const Coord*             c,
       long                     inIndex
    );

파라미터

typ
요소의 타입입니다. (Curve2DData.h를 보십시오) {CURVE2D_Sector, CURVE2D_GenArc, CURVE2D_PolyLine}
pSector
섹터에 대한 포인터 또는 NULL입니다.
pGenArc
GenArc에 대한 포인터 또는 NULL입니다.
nCoords
폴리라인 좌표들의 개수 또는 0입니다.
pCoords
폴리라인 좌표들에 대한 포인터 또는 NULL입니다.
nArcs
폴리라인 PolyArc들의 개수 또는 0입니다.
pArcs
폴리라인 PolyArc들에 대한 포인터 또는 NULL입니다.
c
주어진 점에 대한 포인터입니다.
inIndex
폴리라인의 경우 모서리의 InIndex입니다.

리턴 값

계산된 파라미터입니다.

요구사항

버전: 1.0 또는 이후
헤더: CutElems.h
라이브러리 가져오기: GeometryImp.lib [Win]
모듈: Geometry.dll [WIN] GeometryLib [Mac]

참고사항

GetElemCoord