@spiceErrorCheck<EOL>def dskw02(handle, center, surfid, dclass, fname, corsys, corpar, mncor1,<EOL>mxcor1, mncor2, mxcor2, mncor3, mxcor3, first, last, vrtces,<EOL>plates, spaixd, spaixi):
handle = ctypes.c_int(handle)<EOL>center = ctypes.c_int(center)<EOL>surfid = ctypes.c_int(surfid)<EOL>dclass = ctypes.c_int(dclass)<EOL>fname  = stypes.stringToCharP(fname)<EOL>corsys = ctypes.c_int(corsys)<EOL>corpar = stypes.toDoubleVector(corpar)<EOL>mncor1 = ctypes.c_double(mncor1)<EOL>mxcor1 = ctypes.c_double(mxcor1)<EOL>mncor2 = ctypes.c_double(mncor2)<EOL>mxcor2 = ctypes.c_double(mxcor2)<EOL>mncor3 = ctypes.c_double(mncor3)<EOL>mxcor3 = ctypes.c_double(mxcor3)<EOL>first  = ctypes.c_double(first)<EOL>last   = ctypes.c_double(last)<EOL>nv     = ctypes.c_int(len(vrtces))<EOL>vrtces = stypes.toDoubleMatrix(vrtces)<EOL>np     = ctypes.c_int(len(plates))<EOL>plates = stypes.toIntMatrix(plates)<EOL>spaixd = stypes.toDoubleVector(spaixd)<EOL>spaixi = stypes.toIntVector(spaixi)<EOL>libspice.dskw02_c(handle, center, surfid, dclass, fname, corsys, corpar,<EOL>mncor1, mxcor1, mncor2, mxcor2, mncor3, mxcor3, first,<EOL>last, nv, vrtces, np, plates, spaixd, spaixi)<EOL>
Write a type 2 segment to a DSK file.

http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/dskw02_c.html

:param handle: Handle assigned to the opened DSK file
:type handle: int
:param center: Central body ID code
:type center: int
:param surfid: Surface ID code
:type surfid: int
:param dclass: Data class
:type dclass: int
:param fname: Reference frame
:type fname: str
:param corsys: Coordinate system code
:type corsys: int
:param corpar: Coordinate system parameters
:type corpar: N-Element Array of floats
:param mncor1: Minimum value of first coordinate
:type mncor1: float
:param mxcor1: Maximum value of first coordinate
:type mxcor1: float
:param mncor2: Minimum value of second coordinate
:type mncor2: float
:param mxcor2: Maximum value of second coordinate
:type mxcor2: float
:param mncor3: Minimum value of third coordinate
:type mncor3: float
:param mxcor3: Maximum value of third coordinate
:type mxcor3: float
:param first: Coverage start time
:type first: float
:param last: Coverage stop time
:type last: float
:param vrtces: Vertices
:type vrtces: NxM-Element Array of floats
:param plates: Plates
:type plates: NxM-Element Array of ints
:param spaixd: Double precision component of spatial index
:type spaixd: N-Element Array of floats
:param spaixi: Integer component of spatial index
:type spaixi: N-Element Array of ints